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 99000 - Wrong name of Class when you create Visual MIdlet
Summary: Wrong name of Class when you create Visual MIdlet
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
: 98997 (view as bug list)
Depends on:
Blocks: 98171
  Show dependency tree
 
Reported: 2007-03-26 15:50 UTC by Fabiola Rios
Modified: 2007-03-28 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Silently discarded exception (10.24 KB, application/octet-stream)
2007-03-26 20:55 UTC, David Kaspar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiola Rios 2007-03-26 15:50:33 UTC
build 20070326

Create new Visual MIDlet, introduce any name.
Finish, go to source
the name of the class, and constructor is still named VisualMIDlet.
Comment 1 David Kaspar 2007-03-26 20:54:41 UTC
Looks like it is not caused by mobility. During file creating an exception is
shown (and silently discarded). The exception shown a IllegalArgmumentException
at  java source - casual diff.
Comment 2 David Kaspar 2007-03-26 20:55:46 UTC
Created attachment 39974 [details]
Silently discarded exception
Comment 3 Jan Lahoda 2007-03-27 08:24:02 UTC
Pavle, could you please take a look on this? This is a showstopper for M8. Thanks.
Comment 4 Lukas Hasik 2007-03-27 14:29:40 UTC
*** Issue 98997 has been marked as a duplicate of this issue. ***
Comment 5 Pavel Flaska 2007-03-27 15:18:39 UTC
Fixed in trunk and release60-m8 branch.

Checking in src/org/netbeans/modules/java/source/save/PositionEstimator.java;
/cvs/java/source/src/org/netbeans/modules/java/source/save/PositionEstimator.java,v
 <--  PositionEstimator.java
new revision: 1.16.2.1; previous revision: 1.16
done
Checking in test/unit/src/org/netbeans/api/java/source/gen/ClassMemberTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/gen/ClassMemberTest.java,v
 <--  ClassMemberTest.java
new revision: 1.17.2.1; previous revision: 1.17
done

Checking in src/org/netbeans/modules/java/source/save/PositionEstimator.java;
/cvs/java/source/src/org/netbeans/modules/java/source/save/PositionEstimator.java,v
 <--  PositionEstimator.java
new revision: 1.17; previous revision: 1.16
done
Checking in test/unit/src/org/netbeans/api/java/source/gen/ClassMemberTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/gen/ClassMemberTest.java,v
 <--  ClassMemberTest.java
new revision: 1.19; previous revision: 1.18
done

Comment 6 Lukas Hasik 2007-03-27 15:25:04 UTC
tested with jars provided by pavel -> it works.
Comment 7 Fabiola Rios 2007-03-28 09:25:22 UTC
verified build 20070328