groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-9210) Missing TextfierSupport from asm-util
Date Sat, 03 Aug 2019 03:55:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-9210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899348#comment-16899348
] 

Daniel Sun commented on GROOVY-9210:
------------------------------------

My pleasure 😉

> 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)

Mime
View raw message