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

Port JDK 21's Java Compiler for Android #1657

Open
itsaky opened this issue Jan 15, 2024 · 1 comment
Open

Port JDK 21's Java Compiler for Android #1657

itsaky opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels
feature Feature Request improvement Something needs to be improved WIP Work in progress

Comments

@itsaky
Copy link
Member

itsaky commented Jan 15, 2024

Currently, the Java compiler in AndroidIDE (which provides Java language features in the editor) is based on JDK 17 (nb-javac). Android projects can already use Java 17 language features in the Java source files (source) and support for JDK 21 will be added eventually (in AGP). For this reason, porting JDK 21's Java compiler for the IDE should be considered now.

In the existing compiler, there are features from nb-javac that we use. When porting the Java 21 compiler, we need to make sure that those changes from are also included.

Resources :

@itsaky itsaky added the improvement Something needs to be improved label Jan 15, 2024
@itsaky itsaky self-assigned this Jan 15, 2024
@itsaky itsaky pinned this issue Jan 15, 2024
@itsaky itsaky added the feature Feature Request label Jan 15, 2024
@MrIkso
Copy link
Contributor

MrIkso commented Jan 15, 2024

Currently jdk21 nd-javac only netbeans project
apache/netbeans@9df1d37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature Request improvement Something needs to be improved WIP Work in progress
Projects
None yet
Development

No branches or pull requests

2 participants