1 /******************************************************************************* 2 * Copyright (c) 2009, 2018 Mountainminds GmbH & Co. KG and Contributors 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * Marc R. Hoffmann - initial API and implementation 10 * 11 *******************************************************************************/ 12 package org.jacoco.core.runtime; 13 14 import org.junit.Assume; 15 import org.junit.BeforeClass; 16 17 /** 18 * Unit tests for {@link URLStreamHandlerRuntime}. 19 */ 20 public class URLStreamHandlerRuntimeTest extends RuntimeTestBase { 21 22 @Override 23 IRuntime createRuntime() { 24 return new URLStreamHandlerRuntime(); 25 } 26 27 @BeforeClass 28 public static void checkJDK() { 29 final boolean jdk9 = System.getProperty("java.version") 30 .startsWith("9-"); 31 Assume.assumeTrue(!jdk9); 32 } 33 34 } 35