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 - The org-netbeans-modules-cnd-antlr.jar in cnd2/modules causes errors
Summary: The org-netbeans-modules-cnd-antlr.jar in cnd2/modules causes errors
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 22:04 UTC by ltang
Modified: 2008-04-07 15:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.