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.
Summary: | [JDK1.5.0] Main class contains two main methods | ||
---|---|---|---|
Product: | java | Reporter: | Milan Kubec <mkubec> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | ttran |
Priority: | P3 | Keywords: | JDK_SPECIFIC |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
scrshot of error msg
scrshot of editor |
Description
Milan Kubec
2003-10-31 10:53:00 UTC
Created attachment 12028 [details]
scrshot of error msg
Created attachment 12029 [details]
scrshot of editor
[NetBeans build 200310291900] The problem seesm to be caused by changed signatures of java class files in new JDK. If Parser boot classpath has been set to rt.jar from JDK 1.4.2 the problem disapeared. The root cause of the problem is incompatible changes to implementation of JSR-14 aka 'Adding Generics to Java' between 1.4.x and 1.5.0. Because 1.4.x implementation of Generics is enabled for Java parser, parser cannot run correctly with rt.jar from JDK 1.5.0. Fixed in trunk. Generics are now disabled in Java parser. Verified. This sounds like a release note issue to me. If I understand correctly, users of NB 3.6 will not be able to develop java files with generics on JDK 1.4.x? removing RELNOTE keyword |