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.

Bug 235519

Summary: ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to com.sun.tools.javac.util.Name
Product: java Reporter: ksrini
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203583
Attachments: stacktrace

Description ksrini 2013-09-04 16:25:55 UTC
This bug was originally marked as duplicate of bug 192481, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build jdk8lambda-1780-on-20130719)
VM: Java HotSpot(TM) Client VM, 24.0-b54, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b35
OS: SunOS

User Comments:
ksrini: scanning




Stacktrace: 
java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to com.sun.tools.javac.util.Name
   at com.sun.tools.javac.jvm.ClassReader.readName(ClassReader.java:596)
   at com.sun.tools.javac.jvm.ClassReader.readMethod(ClassReader.java:1986)
   at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:2226)
   at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:2298)
   at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2520)
   at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2440)
Comment 1 ksrini 2013-09-04 16:25:58 UTC
Created attachment 139672 [details]
stacktrace
Comment 2 Dusan Balek 2014-07-14 12:56:59 UTC

*** This bug has been marked as a duplicate of bug 224611 ***