You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
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.
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 :
The text was updated successfully, but these errors were encountered: