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.
Test org.netbeans.modules.java.source.usages.CompromiseSATest::testClassSignatureFromElement fails on JDKm 8 starting b100 since parsed class now have CONSTANT_InvokeDynamic in Constans Pool Error invalid constant pool type: 18 org.netbeans.modules.classfile.InvalidClassFormatException: invalid constant pool type: 18 at org.netbeans.modules.classfile.ClassFile.load(ClassFile.java:195) at org.netbeans.modules.classfile.ClassFile.<init>(ClassFile.java:147) at org.netbeans.modules.java.source.usages.CompromiseSATest.performClassSignatureFromElementTest(CompromiseSATest.java:255) at org.netbeans.modules.java.source.usages.CompromiseSATest.testClassSignatureFromElement(CompromiseSATest.java:242) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at junit.framework.TestCase.runTest(TestCase.java:168) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:97) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:431) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:357) at java.lang.Thread.run(Thread.java:724) Caused by: org.netbeans.modules.classfile.InvalidClassFormatException: invalid constant pool type: 18 at org.netbeans.modules.classfile.ConstantPool.load(ConstantPool.java:198) at org.netbeans.modules.classfile.ConstantPool.<init>(ConstantPool.java:96) at org.netbeans.modules.classfile.ClassFile.loadClassHeader(ClassFile.java:212) at org.netbeans.modules.classfile.ClassFile.load(ClassFile.java:189) ... 12 more Caused by: java.lang.IllegalArgumentException: invalid constant pool type: 18 at org.netbeans.modules.classfile.ConstantPool.getConstantPoolEntry(ConstantPool.java:270) at org.netbeans.modules.classfile.ConstantPool.load(ConstantPool.java:182) ... 15 more
*** This bug has been marked as a duplicate of bug 225528 ***