Skip to content

Commit 4606b0f

Browse files
committed
Bump DDRProcessor latest_tested to 22
No issues observed in compiling manually (without the Maven directive specifying an earlier --release) on Oracle JDK 22 GA. cd pljava-api/src/main/java /var/tmp/jdk-22/bin/javac -d ../../../target/classes/ \ -Xlint:unchecked -Xlint:-removal --module-version 1.6-SNAPSHOT \ $(find . -name '*.java') cd ../../.. /var/tmp/jdk-22/bin/jar cf target/pljava-api-1.6-SNAPSHOT.jar \ -C target/classes . cd ../pljava/src/main/java /var/tmp/jdk-22/bin/javac --module-version 1.6-SNAPSHOT \ -d ../../../target/classes/ \ --module-path ../../../../pljava-api/target/pljava-api-1.6-SNAPSHOT.jar \ --processor-module-path \ ../../../../pljava-api/target/pljava-api-1.6-SNAPSHOT.jar \ -Xlint:unchecked -Xlint:-removal $(find . -name '*.java') cd ../../../ /var/tmp/jdk-22/bin/jar cf target/pljava-1.6-SNAPSHOT.jar \ -C target/classes . cd ../pljava-examples/src/main/java /var/tmp/jdk-22/bin/javac -d ../../../target/classes/ \ --module-path ../../../../pljava-api/target/pljava-api-1.6-SNAPSHOT.jar \ --processor-module-path \ ../../../../pljava-api/target/pljava-api-1.6-SNAPSHOT.jar \ --class-path \ ~/.m2/repository/net/sf/saxon/Saxon-HE/10.9/Saxon-HE-10.9.jar: \ -Xlint:unchecked -Xlint:-removal \ --add-modules org.postgresql.pljava $(find . -name '*.java') cd ../../../target/classes zip -r ../pljava-examples-1.6-SNAPSHOT.jar * # zip because jar m doesn't preserve order of manifest entries cd ../../../ # with dir of intended pg_config version on PATH: mvn clean install --projects pljava-packaging
1 parent 6da39e1 commit 4606b0f

File tree

1 file changed

+2
-2
lines changed
  • pljava-api/src/main/java/org/postgresql/pljava/annotation/processing

1 file changed

+2
-2
lines changed

pljava-api/src/main/java/org/postgresql/pljava/annotation/processing/DDRProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2004-2023 Tada AB and other contributors, as listed below.
2+
* Copyright (c) 2004-2024 Tada AB and other contributors, as listed below.
33
*
44
* All rights reserved. This program and the accompanying materials
55
* are made available under the terms of the The BSD 3-Clause License
@@ -173,7 +173,7 @@ public SourceVersion getSupportedSourceVersion()
173173
* Update latest_tested to be the latest Java release on which this
174174
* annotation processor has been tested without problems.
175175
*/
176-
int latest_tested = 21;
176+
int latest_tested = 22;
177177
int ordinal_9 = SourceVersion.RELEASE_9.ordinal();
178178
int ordinal_latest = latest_tested - 9 + ordinal_9;
179179

0 commit comments

Comments
 (0)