You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Tomo Suzuki (JIRA)" <ji...@apache.org> on 2019/08/02 19:50:00 UTC

[jira] [Commented] (GROOVY-9210) Missing TextfierSupport from asm-util

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

Tomo Suzuki commented on GROOVY-9210:
-------------------------------------

[~daniel_sun] Thank you for quick turnaround.

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