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

Ability to work with JDK 22 ea javac. #6742

Closed
wants to merge 1 commit into from

Conversation

lahodaj
Copy link
Contributor

@lahodaj lahodaj commented Nov 23, 2023

Some of the javac internals used by NB have changed - in particular the com.sun.tools.javac.util.Name has been changed:
openjdk/jdk@11da15d

This change is adjusting to that - by reducing the use of the internal API, and relying more on the public API.

@lahodaj lahodaj added the Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) label Nov 23, 2023
@lahodaj lahodaj added this to the NB21 milestone Nov 23, 2023
@lkishalmi
Copy link
Contributor

@lahodaj Could you add some comments why this change is necessary? I guess it would be educational.

@mbien
Copy link
Member

mbien commented Jan 6, 2024

This appears to be be cleanup/refactoring which makes NB compatible both with both javac 21 and upstream 22 due to the mentioned api changes (thanks for updating the PR msg).

NB 21 release is planned for end of February, while JDK 22 would be March 19th. Should we move this to milestone 22 or merge?

@neilcsmith-net neilcsmith-net modified the milestones: NB21, NB22 Jan 16, 2024
@mbien
Copy link
Member

mbien commented Feb 20, 2024

i believe this can be closed since changes here are part of https://github.com/apache/netbeans/pull/6968/files which is already integrated.

I am not quite sure why github isn't updating the diff here.

@mbien mbien added the do not merge Don't merge this PR, it is not ready or just demonstration purposes. label Feb 20, 2024
@mbien mbien closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Don't merge this PR, it is not ready or just demonstration purposes. Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants