Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-08-12 22:00:24 +0000
committerStephan Herrmann2018-08-12 22:00:24 +0000
commitd9427fb00c61d1e59c9a217f96de43d0bc551f7c (patch)
tree404367ef252fdf1d5fc0de85046af7a881c2e1da
parent800b11e1d9876c5bae3e80555e62d1402749803b (diff)
downloadeclipse.jdt.core-d9427fb00c61d1e59c9a217f96de43d0bc551f7c.tar.gz
eclipse.jdt.core-d9427fb00c61d1e59c9a217f96de43d0bc551f7c.tar.xz
eclipse.jdt.core-d9427fb00c61d1e59c9a217f96de43d0bc551f7c.zip
Bug 536706 - [tests] Failures in mac after moving to new test machineI20180812-2000
- fixed hook for the new initialization Change-Id: I1dbb6cf540d28574e1e978ac38c323a5ab07eff8
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java
index 02d41d433a..8ddc3fa9f7 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java
@@ -38,8 +38,9 @@ import org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
@SuppressWarnings({ "unchecked", "rawtypes" })
public class GenericTypeTest extends AbstractComparableTest {
- final static boolean NESTED_CLASS_USE_DOLLAR;
- static {
+ static boolean NESTED_CLASS_USE_DOLLAR;
+
+ static void init() {
if (isJRE9Plus) {
NESTED_CLASS_USE_DOLLAR = true;
} else {
@@ -65,7 +66,9 @@ public class GenericTypeTest extends AbstractComparableTest {
// TESTS_RANGE = new int[] { 1097, -1 };
}
public static Test suite() {
- return buildComparableTestSuite(testClass());
+ Test suite = buildComparableTestSuite(testClass());
+ init();
+ return suite;
}
public static Class testClass() {

Back to the top