diff options
author | Evgeny Mandrikov <138671+Godin@users.noreply.github.com> | 2020-06-17 22:45:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 22:45:24 +0200 |
commit | 2a75e0d6777269eb031d0549ff85feb75684a926 (patch) | |
tree | b1a6e41f4a78524c73675b37cdbec7e629922da9 /org.jacoco.core.test/src/org/jacoco/core | |
parent | 1485a4192d6afee7dd5449d4a0e28ca184efd887 (diff) | |
download | jacoco-2a75e0d6777269eb031d0549ff85feb75684a926.tar.gz |
Remove URLStreamHandlerRuntime (#471)
* uses reflection to access internal members of the java.net.URL class
* not used by default
* has lower performance than ModifiedSystemClassRuntime that is used by
default and than SystemPropertiesRuntime
Diffstat (limited to 'org.jacoco.core.test/src/org/jacoco/core')
-rw-r--r-- | org.jacoco.core.test/src/org/jacoco/core/runtime/URLStreamHandlerRuntimeTest.java | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/org.jacoco.core.test/src/org/jacoco/core/runtime/URLStreamHandlerRuntimeTest.java b/org.jacoco.core.test/src/org/jacoco/core/runtime/URLStreamHandlerRuntimeTest.java deleted file mode 100644 index 00155ffe..00000000 --- a/org.jacoco.core.test/src/org/jacoco/core/runtime/URLStreamHandlerRuntimeTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2009, 2020 Mountainminds GmbH & Co. KG and Contributors - * This program and the accompanying materials are made available under - * the terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0 - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Marc R. Hoffmann - initial API and implementation - * - *******************************************************************************/ -package org.jacoco.core.runtime; - -import org.junit.Assume; -import org.junit.BeforeClass; - -/** - * Unit tests for {@link URLStreamHandlerRuntime}. - */ -public class URLStreamHandlerRuntimeTest extends RuntimeTestBase { - - @Override - IRuntime createRuntime() { - return new URLStreamHandlerRuntime(); - } - - @BeforeClass - public static void checkJDK() { - final boolean jdk9 = System.getProperty("java.version") - .startsWith("9-"); - Assume.assumeTrue(!jdk9); - } - -} |