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 131991

Summary: The org-netbeans-modules-cnd-antlr.jar in cnd2/modules causes errors
Product: cnd Reporter: ltang <ltang>
Component: -- Other --Assignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED INVALID    
Severity: blocker CC: ltang
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description ltang 2008-04-03 22:04:01 UTC
The org-netbeans-modules-cnd-antlr.jar in cnd2/modules introduced recently by Netbeans 6.1 are now causing errors such 
as following:

antlr.Token is abstract; cannot be instantiated
      return new Token(Token.EOF_TYPE);

I've found out that the antlr.Token class now becomes an interface whereas it's been a concrete class for long time. 
This breaks our code.

Please remove/fix this org-netbeans-modules-cnd-antlr.jar introduced.
Comment 1 Vladimir Voskresensky 2008-04-07 13:10:13 UTC
what are you building?
NetBeans itself builds and works OK.
Don't know how, but instead of common NB's antlr seems you use cnd/antlr (patched and N times faster).
Anyway you are not a friend of cnd/antlr => it should be not possible for you to build against it.
Comment 2 Vladimir Kvashin 2008-04-07 15:12:03 UTC
You erroneously used org.netbeans.modules.cnd.antlr.
You should use o.n.m.antlr instead of o.n.m.cnd.antlr.