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 - Question dialog can confuse a user sometimes
Summary: Question dialog can confuse a user sometimes
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 10:56 UTC by vgorr
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
gzipped tar file with jpeg images (45.90 KB, application/octet-stream)
2003-04-16 10:58 UTC, vgorr
Details

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