Skip to content

Conversation

@mbien
Copy link
Member

@mbien mbien commented Nov 19, 2024

  • java hints job remains on 23 and has to wait for nb-javac 24
  • bump CV tests from JDK 22 to 23 (oops, nobody noticed)
  • minor cleanup (building tests after javadoc would fail if the JDK changes in between due to build jar file comparison logic - metadata changes -> lets swap the steps)

extracted from #7928

 - java hints job remains on 23 and has to wait for nb-javac 24
 - bump CV tests from JDK 22 to 23
 - minor cleanup
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests CI continuous integration changes tests JavaDoc [ci] enable java/javadoc tests and build-javadoc target labels Nov 19, 2024
@mbien mbien added this to the NB25 milestone Nov 19, 2024
--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED \
--add-opens=java.desktop/sun.awt=ALL-UNNAMED \
--add-modules=jdk.jdwp.agent,jdk.attach,jdk.jdi,jdk.jshell,java.compiler,jdk.compiler,jdk.management,jdk.unsupported,jdk.internal.le,jdk.internal.ed,jdk.internal.opt,jdk.internal.jvmstat \
--add-modules=java.compiler \
Copy link
Member Author

@mbien mbien Nov 19, 2024

Choose a reason for hiding this comment

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

This is for CV tests on 23: JDK 23 added jdk.internal.md which we would have to add to the list. This would prevent the JVM from starting on JDKs <22 however.

Adding only java.compiler seems to work, since according to the doc:

--add-modules <module name>[,<module name>...]
                  root modules to resolve in addition to the initial module.

this seems to add all transitive deps automatically.

@mbien mbien removed Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests tests JavaDoc [ci] enable java/javadoc tests and build-javadoc target labels Nov 22, 2024
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me. Thank you!

@mbien mbien merged commit 58eaa73 into apache:master Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI continuous integration changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants