This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Java 7 introduced three new types of constant pool entries to support invoke dynamic instruction (InvokeDynamicInfo, MethodHandleInfo, MethodTypeInfo). The classfile library need to support these as well.
Created attachment 130959 [details] Proposed API change.
Please review, thanks.
Y01 I am not sure you want to expose "public enum ReferenceKind" - probably the public keyword should be removed. Y02 The test could test the result value of toString() otherwise it looks a bit strange.
Agree with Y01. Otherwise OK to me.
Created attachment 131034 [details] Updated patch. Y01&Y02: Updated the patch with a getter for the reference kind and updated the test.
If there are not objections, I plan to integrate the change this week.
Done (long time ago).
*** Bug 234636 has been marked as a duplicate of this bug. ***