Bug 244550

Summary: [fiximprove] On the "New MIDlet" wizard is possible to create a MIDlet that does not extends MIDlet
Product: [Tools] MTJ (Archived) Reporter: Edwin Carlo Ribeiro Marinho <edwin.carlo>
Component: UIAssignee: Diego Madruga Sandin <wds057>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1 CC: gang_ma, hugo.raniere, telmo.mota, wds057, wgp010
Version: 0.9Keywords: contributed, ui, usability
Target Milestone: 0.9   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
patch for this bug wds057: iplog+

Description Edwin Carlo Ribeiro Marinho CLA 2008-08-19 10:00:32 EDT
Build ID: M20080221-1800

Steps To Reproduce:
1. Start the "New MIDlet" wizard
2. Put the name of the MIDlet
3. On the "Superclass" field select one that is not a MIDlet (java.lang.Runtime)
4. Verify that the "Add To Application Descriptor" checkbox is checked
5. Press "Finish" button

The created class will be added to the jad but it is not a MIDlet.

More information:
Comment 1 Gang(Allen) Ma CLA 2008-08-28 23:15:10 EDT
I'm working with this bug
Comment 2 Gang(Allen) Ma CLA 2008-08-31 22:29:34 EDT
Created attachment 111367 [details]
patch for this bug

add validation to the Superclass field
Comment 3 Diego Madruga Sandin CLA 2008-09-01 09:17:50 EDT
I've checked the patch, and everything looks fine. I'll commit it today, and it will be available in tomorrow's NB.
Comment 4 Diego Madruga Sandin CLA 2008-09-01 10:45:48 EDT
The patch was integrated.
Comment 5 Diego Madruga Sandin CLA 2008-09-01 14:29:48 EDT
*** Bug 245899 has been marked as a duplicate of this bug. ***
Comment 6 Gustavo de Paula CLA 2008-10-15 09:22:03 EDT
all bugs we integrated and release on MTj 0.9