Skip to content

Enabling CI testing on JDK 25#57

Merged
jtulach merged 8 commits into
apache:masterfrom
jtulach:Jdk25onCI
May 16, 2026
Merged

Enabling CI testing on JDK 25#57
jtulach merged 8 commits into
apache:masterfrom
jtulach:Jdk25onCI

Conversation

@jtulach
Copy link
Copy Markdown
Contributor

@jtulach jtulach commented May 15, 2026

  • Fixes build and test execution on JDK25. Eliminates problems of tests using Graal.js failing when running on JDK25
  • Have to use two versions of Graal.js:
    • 21.3.x on JDKs older than 21
    • 25.0.3 on JDK21+
  • done by separating the Graal.js dependency into testing project
  • and having two profiles there

@jtulach jtulach self-assigned this May 15, 2026
Comment thread pom.xml
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<netbeans.version>RELEASE130</netbeans.version>
<graalvm.version>21.3.0</graalvm.version>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Graal.js version 21.3.0 isn't ready to run on JDK25

initializationError(net.java.html.sound.AudioClipTest):
java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'

@jtulach jtulach merged commit 13758bb into apache:master May 16, 2026
13 checks passed
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