-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
New release for Java 11? #1205
Comments
Definitely a new release Guice-4.2.1 is needed. |
FYI 4.2.1 is released with proper jdk10 support. it may be better for jdk11 too, but asm doesn't have a non-experimental way of supporting jdk11 yet, so i'll do another release for jdk11 once that's out. |
It's ok. |
It should be on maven central now. |
@sameb it is, works for my case, thanks a lot. |
When asm releases a new version that non-experimentally supports JDK11, I'll include that and re-release. Feel free to ping here when ASM releases a new version, thanks. |
@sameb is there any asm issue at all? Can't find any one here https://gitlab.ow2.org/asm/asm/issues?scope=all&utf8=%E2%9C%93&state=opened UPDATE, new versions would appear here: |
no there is no bug in asm we're waiting on. we're just waiting on a release of ASM that supports JDK11 properly. asm reads bytecode, and jdk11 added new bytecode. the current version has an experimental JDK11 mode that can be enabled using ASM7_EXPERIMENTAL, but i don't want a proper release of guice to depend on experimental stuff. asm apparently releases builds that properly support the current JDK a few days after the JDK itself is released. |
On JDK 11 with Guice 4.2.1 I was getting the exception
because of the ASM7_EXPERIMENTAL opcodes. You can workaround this by passing
to the jvm |
In this PR I did just that and released the artifacts here. With that custom Guice release Gerrit Code Review works as expected with Java 11: [1]. [1] https://gerrit-review.googlesource.com/c/gerrit/+/194040 |
Yup, I just don't want to make an official release using experimental stuff. Once asm puts out a release with a non experimental version, I'll use it. |
@sameb Thanks! |
See cglib/cglib#136 |
ASM 7 released! |
released guice 4.2.2 w/ new cglib & asm. may take a couple hours before it shows up on maven central. |
@sameb Thank you very much! |
Java 11 is in RC and will be out in a couple weeks. The latest ASM is out and supports Java 11 bytecode already. Is a new release required?
The text was updated successfully, but these errors were encountered: