You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring Framework 4.0 ships with a patched version of ASM 4.2, accepting the 1.8 bytecode level and allowing use with CGLIB 3. This needs to be upgraded to ASM 5.0 once available, for official Java 8 support by ASM itself.
A minor note: As of CGLIB 3.1 - which we upgraded to in Spring Framework 4.0.1 two months ago -, our patch in the ClassVisitor constructor and our dummy copy of asm.util.TraceClassVisitor do not seem to be necessary anymore, so I've removed them in the process of the ASM 5.0 upgrade.
That said, we do retain our patch in the ClassReader constructor, for forward compatibility with JDK 9. As with early JDK 8 builds, ASM seems to work fine for our purposes even against a new bytecode version, so it seems to be appropriate to still remove that hard check and rather attempt best-effort parsing.
Bug fixes:
317132 ASM 5.0 do not supported JDK 1.5?
317131 Infinite loop in InstructionAdapter.invokestatic(...).
316691 Incorrect StackMapFrame calculations for large > 32k methods in Java 7.
317123 ASM5.0: Class MethodNode broken?
317127 duplicate entries in InnerClasses attribute.
Juergen Hoeller opened SPR-11239 and commented
Spring Framework 4.0 ships with a patched version of ASM 4.2, accepting the 1.8 bytecode level and allowing use with CGLIB 3. This needs to be upgraded to ASM 5.0 once available, for official Java 8 support by ASM itself.
Affects: 4.0 GA
Issue Links:
The text was updated successfully, but these errors were encountered: