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

Update asm version to 9.4. #1657

Closed
wants to merge 1 commit into from
Closed

Conversation

jaroslawr
Copy link

Fixes #1654.

@google-cla
Copy link

google-cla bot commented Nov 18, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@jaroslawr
Copy link
Author

(I added the CLA)

@ninja-
Copy link

ninja- commented Feb 6, 2023

In the meantime, I would recommend excluding transitive asm dependency in your build.gradle and shading your own version of asm, for anyone needing Java 19

@nikammerlaan
Copy link

@ninja- Can you elaborate on how you excluded ASM? Guice relocates ASM into it's own source, so it's not as simple as a regular transitive dependency override.

@mcculls
Copy link
Contributor

mcculls commented Apr 5, 2023 via email

@ninja-
Copy link

ninja- commented Apr 5, 2023

@nikammerlaan right, if it's relocated I probably missed that. in such case the reason why my app is still working on newest Java, is that I left the compiler versions at earlier Java:

configure<JavaPluginExtension> {
    sourceCompatibility = JavaVersion.VERSION_15
    targetCompatibility = JavaVersion.VERSION_15
}

tasks.withType<KotlinCompilationTask<KotlinJvmCompilerOptions>>().configureEach {
    compilerOptions {
        jvmTarget.set(JvmTarget.JVM_15)
    }
}

it doesn't seem to have any negative consequences, especially that I am using Kotlin

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 for running in Java 19 by upgrading ASM
4 participants