From 0dd4ed01e70822bbcf44776efdae6603ce8daad0 Mon Sep 17 00:00:00 2001 From: Stephan Herrmann Date: Sun, 15 Sep 2024 00:13:38 +0200 Subject: [PATCH] JIT-exclusions for test runs to workaround bug in Java 23 see also + https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2954 + https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/1639 --- org.eclipse.jdt.core.tests.model/pom.xml | 4 +++- org.eclipse.jdt.core.tests.model/test.xml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jdt.core.tests.model/pom.xml b/org.eclipse.jdt.core.tests.model/pom.xml index ed576499ffe..bd7a0067b6e 100644 --- a/org.eclipse.jdt.core.tests.model/pom.xml +++ b/org.eclipse.jdt.core.tests.model/pom.xml @@ -24,6 +24,8 @@ true + -XX:CompileCommand=exclude,org.eclipse.jdt.internal.core.dom.rewrite.ASTRewriteAnalyzer::getExtendedRange + @@ -32,7 +34,7 @@ org.eclipse.tycho tycho-surefire-plugin - -Xmx1G -Djdt.default.test.compliance=1.8 -DDetectVMInstallationsJob.disabled=true ${tycho.surefire.argLine} + ${jitExclusion} -Xmx1G -Djdt.default.test.compliance=1.8 -DDetectVMInstallationsJob.disabled=true ${tycho.surefire.argLine} org/eclipse/jdt/core/tests/RunAllJdtModelTestsTracing.class diff --git a/org.eclipse.jdt.core.tests.model/test.xml b/org.eclipse.jdt.core.tests.model/test.xml index 0c5835fd011..7eb69d4ee3e 100644 --- a/org.eclipse.jdt.core.tests.model/test.xml +++ b/org.eclipse.jdt.core.tests.model/test.xml @@ -23,6 +23,7 @@ + @@ -43,7 +44,7 @@ - +