Skip to content

Commit

Permalink
Run tests on Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Jul 10, 2024
1 parent dddf094 commit 2b3d830
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion org.eclipse.jdt.core.tests.javac/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-22">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-23">
<attributes>
<attribute name="module" value="true"/>
</attributes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=22
org.eclipse.jdt.core.compiler.codegen.targetPlatform=23
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=22
org.eclipse.jdt.core.compiler.compliance=23
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
Expand Down Expand Up @@ -137,6 +137,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=22
org.eclipse.jdt.core.compiler.source=23
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
org.eclipse.jdt.core.incompleteClasspath=error
2 changes: 1 addition & 1 deletion org.eclipse.jdt.core.tests.javac/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
org.eclipse.jdt.annotation;bundle-version="[2.0.0,3.0.0)";resolution:=optional,
org.eclipse.jdt.core.tests.model,
org.eclipse.jdt.core.compiler.batch
Bundle-RequiredExecutionEnvironment: JavaSE-22
Bundle-RequiredExecutionEnvironment: JavaSE-23
Eclipse-BundleShape: dir
Bundle-Activator: org.eclipse.jdt.core.tests.Activator
Bundle-ActivationPolicy: lazy
Expand Down
4 changes: 2 additions & 2 deletions org.eclipse.jdt.core.tests.javac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<packaging>eclipse-test-plugin</packaging>
<profiles>
<profile>
<id>test-on-javase-22</id>
<id>test-on-javase-23</id>
<build>
<plugins>
<plugin>
Expand All @@ -32,7 +32,7 @@
<configuration>
<toolchains>
<jdk>
<id>JavaSE-22</id>
<id>JavaSE-23</id>
</jdk>
</toolchains>
</configuration>
Expand Down
21 changes: 21 additions & 0 deletions org.eclipse.jdt.core.tests.model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,27 @@
<tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.8,17,21,22</tycho.surefire.argLine>
</properties>
</profile>
<profile>
<id>test-on-javase-23</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<configuration>
<toolchains>
<jdk>
<id>JavaSE-23</id>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<tycho.surefire.argLine>--add-modules ALL-SYSTEM -Dcompliance=1.8,17,21,23</tycho.surefire.argLine>
</properties>
</profile>
</profiles>

</project>

0 comments on commit 2b3d830

Please sign in to comment.