Skip to content

update javac to 21 - #2325

Draft
Wadamzmail wants to merge 2 commits into
appdevforall:stagefrom
Wadamzmail:community/update-javac21
Draft

Wadamzmail wants to merge 2 commits into
appdevforall:stagefrom
Wadamzmail:community/update-javac21

Conversation

@Wadamzmail

@Wadamzmail Wadamzmail commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #2202

Summary

updated all javac classes from Openjdk 21+35 github repo with repatch itsaky changes that's on :
JavacTaskImpl
JavaCompiler
openjdk.tools.javac.file classes
readding Repair and use it in the same classes that it's using it
all javac.internal classes
TypeEnter, Lower, Modules, Attr, JCDiagnstics, classes
readd isBackgroundCompilation and ideMode in its classes
some class in openjdk.tools.sjavac is used in the patch so it readded and used by that class ( I hand writing this PR summary, AI can't summarize my changes)
there's alot changes and patches I did
nothing new except AndroidIDE patches

about the second commit

in AutoFixImportAction after updating the javac the IDE will crush when applying the action because the javac gives diagnostic with null source file object and invalid source
so this workaround will fix it

@atlassian

atlassian Bot commented Nov 26, 2026

Copy link
Copy Markdown

To enable Code Reviewer, link your GitHub account to your Atlassian account.

This is a one-time task that takes less than a minute. Once your account is linked, resubmit the pull request to trigger a code review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support java 21 features in completion

1 participant