-
Notifications
You must be signed in to change notification settings - Fork 506
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
KtLint fails to run on JDK 15 #1063
KtLint fails to run on JDK 15 #1063
Comments
Do you have more information about this? We are having exactly the same problem in detekt. Detekt and ktlint raise different exceptions but the problem seems the same: The executable retuned by And it's not related with the compilation JDK. ktlint:
detekt:
|
@BraisGabin this what I see after updating KtLint to Kotlin From my not-so-deep investigation, something was changed in embeddable Kotlin compiler initialization internals that causing this. |
@BraisGabin check PR for CLI crash workaround. Not the best solution, but it works 🤷♂️ |
Expected Behavior
KtLint fails to run on JDK 15
Observed Behavior
TBA
Steps to Reproduce
Kotlin added JDK support in
1.4.20
version. Update is blocked, because CLI fails to run with this Kotlin version.The text was updated successfully, but these errors were encountered: