If a classfile contains an invokedynamic instruction, or a constant pool entry tag in the range 15..18, it cannot be read by javac, javap, or any tool using the com/sun/tools/classfile package.
The format is described here:
The Da Vinci Machine project has a suggested fix in these two patches:
http://hg.openjdk.java.net/mlvm/mlvm/langtools/file/9aff9346a352/indy-bsm-6964498.patch
http://hg.openjdk.java.net/mlvm/mlvm/langtools/file/9aff9346a352/indy-args-6984311.patch
The fix is currently entangled with language support code. Also, changes for 7001379 will affect the details of this bug.
The format is described here:
The Da Vinci Machine project has a suggested fix in these two patches:
http://hg.openjdk.java.net/mlvm/mlvm/langtools/file/9aff9346a352/indy-bsm-6964498.patch
http://hg.openjdk.java.net/mlvm/mlvm/langtools/file/9aff9346a352/indy-args-6984311.patch
The fix is currently entangled with language support code. Also, changes for 7001379 will affect the details of this bug.
- duplicates
-
JDK-6982999 tools must support -target 7 bytecodes
- Closed
- relates to
-
JDK-6939203 JSR 292 needs method handle constants
- Closed
-
JDK-6964498 JSR 292 invokedynamic sites need local bootstrap methods
- Closed
-
JDK-7001379 bootstrap method data needs to be moved from constant pool to a classfile attribute
- Closed