From efc1dcaa5b263df2978764d87cecc9229adf6598 Mon Sep 17 00:00:00 2001 From: Jay Arthanareeswaran Date: Wed, 4 Sep 2024 10:26:02 +0530 Subject: [PATCH] Upgrade test configuration to JavaSE-23 #483 --- Jenkinsfile | 2 +- org.eclipse.jdt.debug.jdi.tests/pom.xml | 6 ++-- .../debug/jdi/tests/AbstractJDITest.java | 31 ++++++++++++++----- org.eclipse.jdt.debug.tests/build.properties | 4 +-- .../{java22 => java23}/Main1.java | 0 .../{java22 => java23}/Main2.java | 0 org.eclipse.jdt.debug.tests/pom.xml | 6 ++-- .../debug/testplugin/JavaProjectHelper.java | 14 ++++----- .../jdt/debug/tests/AbstractDebugTest.java | 26 +++++++++------- .../jdt/debug/tests/AutomatedSuite.java | 2 +- .../launching/InstanceMainMethodsTests.java | 2 +- 11 files changed, 56 insertions(+), 37 deletions(-) rename org.eclipse.jdt.debug.tests/{java22 => java23}/Main1.java (100%) rename org.eclipse.jdt.debug.tests/{java22 => java23}/Main2.java (100%) diff --git a/Jenkinsfile b/Jenkinsfile index 95c4355232..7ef4516038 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { xvnc(useXauthority: true) { sh """ mvn clean verify --batch-mode --fail-at-end -Dmaven.repo.local=$WORKSPACE/.m2/repository \ - -Ptest-on-javase-21 -Pbree-libs -Papi-check -Pjavadoc\ + -Ptest-on-javase-23 -Pbree-libs -Papi-check -Pjavadoc\ -Dmaven.test.failure.ignore=true\ -Dcompare-version-with-baselines.skip=false \ -Dproject.build.sourceEncoding=UTF-8 \ diff --git a/org.eclipse.jdt.debug.jdi.tests/pom.xml b/org.eclipse.jdt.debug.jdi.tests/pom.xml index ebdcdd57fc..75c0556a6c 100644 --- a/org.eclipse.jdt.debug.jdi.tests/pom.xml +++ b/org.eclipse.jdt.debug.jdi.tests/pom.xml @@ -1,6 +1,6 @@