[jboss-jira] [JBoss JIRA] (JASSIST-182) update ClassFileWriter for Java 7 invokedynamic

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Mon Dec 3 05:05:21 EST 2012


Shigeru Chiba created JASSIST-182:
-------------------------------------

             Summary: update ClassFileWriter for Java 7 invokedynamic
                 Key: JASSIST-182
                 URL: https://issues.jboss.org/browse/JASSIST-182
             Project: Javassist
          Issue Type: Feature Request
    Affects Versions: 3.17.0-GA
            Reporter: Shigeru Chiba
            Assignee: Shigeru Chiba
            Priority: Minor


(Originally reported by Grigori Goronzy)

With Javassist 3.17, the ClassFile, ConstPool, etc. classes gained support for the invokedynamic JVM opcode and associated constant pool data. However, ClassFileWriter wasn't updated, and it isn't possible, for instance, to add an InvokeDynamic_info with a ConstPoolWriter.

The attached patch fixes this in the most straight-forward manner. I haven't tested it well, but the code is so simple that it is unlikely to have any bugs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list