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 11997 - Java parser exception when generating for default package
Summary: Java parser exception when generating for default package
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-07 16:54 UTC by brazil
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Suggested fix (940 bytes, patch)
2001-07-20 20:30 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description brazil 2001-05-07 16:54:36 UTC
Generating for the default package using the Java generator has the effect that 
the Java parser prints a stack trace in the console window.
Comment 1 Svata Dedic 2001-05-09 11:52:06 UTC
Needs to be fixed in 3.2.1 - fix appears to be trivial (diffs will be 
attached)
Comment 2 Svata Dedic 2001-05-11 17:01:37 UTC
Created attachment 1355 [details]
Suggested fix
Comment 3 Svata Dedic 2001-05-11 17:04:24 UTC
When the implementation was adjusting the name for the classes newly inserted
into the model, it incorrectly prepended "null." before the new class' simple
name, if they were placed into the default package.
Comment 4 Svata Dedic 2001-05-14 14:41:50 UTC
Fixed in dev, scheduled for pilsen_ea, candidate for 3.2.1 release
Comment 5 Jan Becicka 2001-06-08 18:26:07 UTC
[dev-206] Verified
Comment 6 Jan Becicka 2001-06-19 15:23:58 UTC
[ffj30] Verified
Comment 7 Quality Engineering 2003-07-01 13:21:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.