Skip to content

fix: Remove isAtLeastJava9 check - #2

Closed
Wadamzmail wants to merge 3 commits into
appdevforall:mainfrom
AndroidIDE-Dev:main
Closed

fix: Remove isAtLeastJava9 check#2
Wadamzmail wants to merge 3 commits into
appdevforall:mainfrom
AndroidIDE-Dev:main

Conversation

@Wadamzmail

@Wadamzmail Wadamzmail commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

The java version check is useless on Android if we already embedded jrt-fs on the Application and breaks Kotlin LSP initialization on Android 10 and less devices so always use Application class loader
see #1334

it useless on Android if we already embedded jrt-fs on the Application and breaks Kotlin LSP initialization on Android 10 and less devices
so always use Application class loader
@Wadamzmail

Copy link
Copy Markdown
Contributor Author

@itsaky-adfa Could you please review this PR?

@itsaky-adfa itsaky-adfa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wadamzmail Thank you for taking the time to create this PR. There are some minor changes needed before we can merge this.

Comment thread patches/0001-fix-use-application-class-loader-to-find-jrt-file-sy.patch Outdated
Comment thread patches/0001-fix-use-application-class-loader-to-find-jrt-file-sy.patch Outdated
@itsaky-adfa

Copy link
Copy Markdown
Collaborator

@Wadamzmail Please merge the latest main changes to run the workflows (required before we merge this).

@Wadamzmail

Copy link
Copy Markdown
Contributor Author

@itsaky-adfa review

@itsaky-adfa

itsaky-adfa commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Hey @Wadamzmail,

Thank you for your contribution! I've merged the changes manually via commit 4d3c8ea (with some minor changes). Closing this PR.

itsaky-adfa added a commit to appdevforall/CodeOnTheGo that referenced this pull request Jul 31, 2026
See appdevforall/kotlin-android#2

Signed-off-by: Akash Yadav <akashyadav@appdevforall.org>
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.

2 participants