Commit 4606b0f
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-packaging1 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 changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments