Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.7
-
None
-
None
Description
Groovy 2.5 and 2.6 are missing TextifierSupport class from asm-util.
https://github.com/apache/groovy/blob/GROOVY_2_5_X/gradle/assemble.gradle
includesPerLibrary = [ 'asm-util': ['org/objectweb/asm/util/Printer.class', 'org/objectweb/asm/util/Textifier.class', 'org/objectweb/asm/util/ASMifier.class', 'org/objectweb/asm/util/Trace*'] ]
Textifier.visitAttribute references TextifierSupport in the same package but the class is not included in groovy-2.5.7.jar.
Attached screenshot to reproduce the issue in Java:
package groovyjarjarasm.asm; import org.codehaus.groovy.classgen.asm.util.LoggableTextifier; /** * Demonstrates LoggableTextifier throws ClassNotFoundException. */ public class App { public static void main( String[] args ) { LoggableTextifier loggableTextifier = new LoggableTextifier(); loggableTextifier.visitAttribute(new Attribute("hello")); } }