Skip to content

Allow building and running with java versions from 8 to 25 - #1004

Open
fridrich wants to merge 11 commits into
AdoptOpenJDK:masterfrom
fridrich:master
Open

fridrich wants to merge 11 commits into
AdoptOpenJDK:masterfrom
fridrich:master

Conversation

@fridrich

@fridrich fridrich commented Oct 6, 2026

Copy link
Copy Markdown
Contributor
  • Builds and runs on Java 8, 11, 17, 21 and 25; CI matrix covers all five.
  • Vendored OpenJDK's PolicyParser (removed in Java 24) for the policy editor.
  • Pack200 support via commons-compress (removed from the JDK in Java 14).
  • No SecurityManager on Java 24+: applications that would need a sandbox are refused unless -nosecurity is given. Launchers pass -Djava.security.manager=allow on Java 18-23.
  • URLJarFile callback registered reflectively, skipped where the JDK no longer has it.
  • Replaced most JDK-internal certificate classes with public API; BouncyCastle only in tests.
  • "Advanced editor" button greyed out when policytool is not available.
  • Fixed an endless loop in headless security prompts.
  • Distribution builds find system jars by Maven coordinates (find-jar) and add commons-compress, commons-io and commons-lang3 to the launcher classpath.
  • Build and test updates: jacoco 0.8.14 (coverage now actually collected), surefire 3.6.0, JDK-specific test JVM arguments, tests adapted for newer JDKs.

@mergify

mergify Bot commented Oct 6, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@fridrich fridrich closed this Oct 6, 2026
@fridrich fridrich reopened this Oct 6, 2026
@fridrich fridrich closed this Oct 6, 2026
@fridrich fridrich reopened this Oct 6, 2026
Also includes test adaptations (KeyStoresTest, JNLPFileTest,
UnsignedAppletTrustConfirmationTest, JNLPPolicy debug log, root pom
profiles); integration-test fixes (MaxPermSize removal, ItwLauncher
flags, headless prompt loop fix).
Drop Java 8 era nashorn, rt.jar and jfxrt.jar paths from the launchers
@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant