Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to build/use PL/Java on Java 23 #503

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public SourceVersion getSupportedSourceVersion()
* Update latest_tested to be the latest Java release on which this
* annotation processor has been tested without problems.
*/
int latest_tested = 22;
int latest_tested = 23;
int ordinal_9 = SourceVersion.RELEASE_9.ordinal();
int ordinal_latest = latest_tested - 9 + ordinal_9;

Expand Down
2 changes: 1 addition & 1 deletion pljava-so/src/main/c/Backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@ void Backend_warnJEP411(bool isCommit)
"Those changes will come in releases after Java 17."),
errhint(
"For migration planning, this version of PL/Java can still "
"enforce policy in Java versions up to and including 22, "
"enforce policy in Java versions up to and including 23, "
"and Java 17 and 21 are positioned as long-term support releases. "
"For details on how PL/Java will adapt, please bookmark "
"https://github.com/tada/pljava/wiki/JEP-411")
Expand Down
2 changes: 1 addition & 1 deletion src/site/markdown/use/policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ release, so relying on it is not recommended.
The developers of Java have elected to phase out important language features
used by PL/Java to enforce policy. The changes will come in releases after
Java 17. For migration planning, this version of PL/Java can still enable
policy enforcement in Java versions up to and including 22, and Java 17 and 21
policy enforcement in Java versions up to and including 23, and Java 17 and 21
are positioned as long-term support releases. (There is a likelihood,
increasing with later Java versions, even before policy stops being enforceable,
that some internal privileged operations by Java itself, or other libraries,
Expand Down
Loading