-
1. Re: Byteman on JDK10
adinn Feb 14, 2018 11:02 AM (in response to sannegrinovero)Hi Sanne,
sannegrinovero wrote:
Does anyone know if I can just override the ASM dependency of Byteman?
I don't believe that's going to work. Byteman includes its own shaded version of the ASM code in the agent jar. I will need to push a new version of Byteman to use a later asm release.
I think this is going to be an continuing issue with consumers of ASM because class file magic numbers are going to continue rising with each new JVM release. Hmm, what a pain.
regards,
Andrew Dinn
-
2. Re: Byteman on JDK10
sannegrinovero Feb 14, 2018 11:16 AM (in response to adinn)Thanks Andrew, I was looking for a 6.1 release of ASM (which isn't ready) but it seems just 6.0 should work as well. I'll do some tests locally and let you know. Regards, Sanne
-
3. Re: Byteman on JDK10
adinn Feb 16, 2018 10:58 AM (in response to sannegrinovero)Hi Sanne,
Byteman needs to integrate asm-6.1beta2 in order to be able to read classfiles with jdk10 versions.
I have a patched version in the works: see BYTEMAN-355
regards,
Andrew Dinn
-
4. Re: Byteman on JDK10
sannegrinovero Feb 16, 2018 1:26 PM (in response to adinn)Thanks!
Looking forward for a release; I've also sent a pull request to make the build (and release!) process a bit more convenient.
-
5. Re: Byteman on JDK10
sannegrinovero Feb 18, 2018 4:45 PM (in response to sannegrinovero)I've built the latest Byteman release locally, and happy to confirm it works fine on Hibernate Search (including on JDK10). Looking forward for the next release!
-
6. Re: Byteman on JDK10
adinn Feb 19, 2018 5:19 AM (in response to sannegrinovero)Excellent. I have also pulled the docs pom patch.
I will try to get the 4.01 release out today.