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 35301 - Wrong source code is generated using New From Template
Summary: Wrong source code is generated using New From Template
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-08-06 13:37 UTC by Marek Grummich
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Generated java file (647 bytes, text/plain)
2003-08-06 13:38 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2003-08-06 13:37:59 UTC
Build 200308060100; j2sdk1.4.2-build28
I was creating a new java class using New From
Template Wizard. Detailed steps are described in
the Java Validation Test Suite paragraph 2
(http://qa.netbeans.org/man-suites/validation/java/JavaValidation.html).
When a new class was appeared in the source editor
I noticed, it was generated wrong. I was able to
reproduce this behaviour twice, but no more. I
worked with a fresh IDE with a clean usedir. I
attached a wrong source code.
Comment 1 Marek Grummich 2003-08-06 13:38:45 UTC
Created attachment 11233 [details]
Generated java file
Comment 2 ehucka 2003-08-06 14:15:29 UTC
It maybe depends on 33165. I've reproduced it certeinly with Mila's
working patch.
Comment 3 Jan Becicka 2004-07-02 00:42:40 UTC
Either worksforme or duplicate of issue 33165. Anyway I cannot
reproduce it any more
Comment 4 Marek Grummich 2004-07-15 12:56:56 UTC
Verified