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 32940

Summary: Question dialog can confuse a user sometimes
Product: java Reporter: vgorr <vgorr>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: fomenko, vgorr
Priority: P3    
Version: -S1S-   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:
Attachments: gzipped tar file with jpeg images

Description vgorr 2003-04-16 10:56:23 UTC
Our tests can create some Java class without any
modification
several times using New Wizard dialog:
     for (i = 0; i < 40; i++) {
          <create_java_class_using_NewWizard> <===
java code
     }
Sometimes the Question dialog appears and displays
a message
some file is modified although this is not quite
true to the fact.
Please see a question.jpeg attachment for details.
Really the work
directory where my script is run contains the
modified file
that differs from one displayed in the Source
Editor. For example,
the file listed below should correspond to the
editor.jpeg
attachment but doesn't:

novo16% cat Class_18.java
/*
 * Class_18.java
 *
 * Created on April 16, 2003, 3:05 PM
 */

package Templates.Classes;

/**
 *
 * @author  vvg
 */
public class Class {
    
    /** Creates a new instance of Class_18 */
    public Class() {
    }
    
}

There is some script allowing to reproduce this
issue on Solaris
platform. However I cannot attach it due to its
size. I can send
this script somebody using e-mails if it needs.
Let me know, please.
Comment 1 vgorr 2003-04-16 10:58:21 UTC
Created attachment 9970 [details]
gzipped tar file with jpeg images
Comment 2 Jiri Rechtacek 2003-04-16 15:11:07 UTC
It's not Template wizard's responsibility, it could rarely appear
during insatiate of Java Class. I reassigning to java module.
(I decrease issue's priority to P3 conformable with
http://qa.netbeans.org/processes/bug_priority_guidelines.html, If I'm
wrong, increase a priority back.)
Comment 3 Jan Becicka 2004-07-13 15:16:35 UTC
Generation of java files was completely rewritten in promo-D.