You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/08/12 12:56:00 UTC
[jira] [Closed] (GROOVY-9210) Missing TextfierSupport from asm-util
[ https://issues.apache.org/jira/browse/GROOVY-9210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-9210.
-----------------------------
> Missing TextfierSupport from asm-util
> -------------------------------------
>
> Key: GROOVY-9210
> URL: https://issues.apache.org/jira/browse/GROOVY-9210
> Project: Groovy
> Issue Type: Improvement
> Affects Versions: 2.5.7
> Reporter: Tomo Suzuki
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 2.5.8, 3.0.0-beta-3
>
> Attachments: RahYXsDxMuy.png
>
>
> 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]
> {code:java}
> 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*']
> ]{code}
> 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:
>
> !RahYXsDxMuy.png!
> {code: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"));
> }
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)