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
Compatibility to JDK 8 and JDK 9 at the same time? #171
Comments
Currently the tests require java 9 and I have not tested a build with 1.8 so have no idea. I know we are building source=1.6 so the idea is to be able to run the compiled sources against even a 1.6 vm, this is also not tested yet.
As far as I know, at the time of this writing, the latest release is 3.22.0-GA (October 10th) but the repository does include a file Please let us know what find... |
I can confirm that 3.22.0 does not work in Java 8 since StackWalker is not present and we get a NoClassDefFoundError Seems we need to stick to 3.21.0 in Java 8 until this is resolved. |
This is designated javassist/src/main/javassist/util/proxy/DefineClassHelper.java Lines 38 to 67 in c4e1949
|
I just ran into the same issue. I wanted to update to 3.23.0 to test with JDK 11, but when running on JDK 8 with that version, I also get this error. |
just to confirm - if we have a requirement to run on both java8 and java11 (our code is compiled on java8), should we use v23 or wait for next version? |
@arungitan wait for next version, see #204 (comment) |
jboss-javassist/javassist#165 jboss-javassist/javassist#171 Change-Id: I6ebb2e837a8acffdc3a5cc9830d0a1b9d2c0d375 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
jboss-javassist/javassist#165 jboss-javassist/javassist#171 Change-Id: I6ebb2e837a8acffdc3a5cc9830d0a1b9d2c0d375 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Hi, is the next version supposed to support JDK9 and JDK8? I'm currently experiencing this exception when running the master on JDK8. Or is there a 'special' way i need to build the jar?
P.S Would it be possible to get a build of the 'master' somewhere? So i don't have to build it? Unfortunately the latest GA release causes a NPE (which has been fixed in a later commit)
The text was updated successfully, but these errors were encountered: