Rob Winch opened SPR-10407 and commented

Now that Spring repacks asm and cglib in it we should include the source files in the spring-core sources to make debugging easier. There may be licensing issues that we need to look into before doing this.

PS: asm does not include debug info, but the best we can do short of recompiling it is include the source files. From the developer guide:

Note: by default tests are run with the optimized ASM classes, which do not contain debug info.


Affects: 3.2.2

Comment From: spring-projects-issues

Phil Webb commented

Hi Rob,

This has been raised before in #14965 and was previously marked as "Won't Fix". I think it was mainly for technical reasons. Do you have a Gradle solution in mind for this?

Comment From: spring-projects-issues

Chris Beams commented

Hi Rob - indeed this looks like a duplicate of #14965 from my side. Please resolve as such unless you have something else in mind.

Comment From: spring-projects-issues

Rob Winch commented

Thanks for pointing out the duplicate...I missed it when I searched for duplicates prior to submitting.

I have felt a bit of a personal pain with regard to this issue so I can take a stab at implementing this (I have a few ideas). Based upon Juergen's comments it seems that #14926 may require us to do a custom compile of at least ASM's ClassReader anyways.

Comment From: bclozel

Unless I'm missing something, the spring-core-6.1.0-SNAPSHOT-sources.jar contains sources for ASM, cglib, javapoet and objenesis. Closing this issue as a result.