Skip to content

Upgrade nb-javac to JDK 25-ea #8572

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

mbien
Copy link
Member

@mbien mbien commented Jun 9, 2025

preparations to upgrade to nb-javac based on JDK 25

this is not meant to be integrated yet, the wrapped nb-javac is an experimental build which was backported to JDK 17 instead of 8 to reduce the delta to upstream. It was built from this old branch I created a while ago. The actual nb-javac 25 is also not available yet.

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Upgrade Library Library (Dependency) Upgrade ci:all-tests [ci] enable all tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Jun 9, 2025
@mbien
Copy link
Member Author

mbien commented Jun 9, 2025

javadoc doesn't build on JDK 25, i saw that already in #8482 but hoped that it would work as soon we bump nb-javac (like it was the case in the past)

 /home/runner/work/netbeans/netbeans/nbbuild/javadoctools/template.xml:284: Warning: Could not find file /home/runner/work/netbeans/netbeans/nbbuild/build/javadoc/org-netbeans-api-annotations-common/resource-files/glass.png to copy.

for hints LambdaTest and ConvertVarToExplicitTypeTest need looking at.
java.completion test data needs updating most likely.

@mbien mbien added JavaDoc [ci] enable java/javadoc tests and build-javadoc target LSP [ci] enable Language Server Protocol tests and removed ci:all-tests [ci] enable all tests labels Jun 9, 2025
@lahodaj
Copy link
Contributor

lahodaj commented Jun 16, 2025

FWIW, I've opened:
JaroslavTulach/nb-javac#30

@mbien
Copy link
Member Author

mbien commented Jun 16, 2025

FWIW, I've opened:
JaroslavTulach/nb-javac#30

@lahodaj thanks! I can refresh this PR once a staged build is available and drop the experimental nb-javac17 bits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) JavaDoc [ci] enable java/javadoc tests and build-javadoc target LSP [ci] enable Language Server Protocol tests Upgrade Library Library (Dependency) Upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants