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 150124

Summary: design an API to replace J2MEDataLoader and J2MEDataObject
Product: javame Reporter: Alexander Kouznetsov <mrkam>
Component: Visual DesignerAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: blocker CC: issues, jtulach
Priority: P3 Keywords: PERFORMANCE, TEST
Version: 6.x   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Stacktraces

Description Alexander Kouznetsov 2008-10-14 18:36:02 UTC
Performance whitelist test reports that following classes are loaded during NetBeans startup with J2SE LimeWire project:

org.netbeans.modules.mobility.editor.pub.J2MEDataLoader
org.netbeans.modules.mobility.editor.pub.J2MEDataObject
org.netbeans.modules.mobility.project.J2MEProject

Please don't load these classes unless they are really necessary. More information about the test available via the URL
specified.

Comment from jtulach: 
Imho the mobility shall eliminate their need for special data loader and 
dataobject completely. This would probably require some API on the 
java.source side, but in long term this is what we need to do anyway. Report 
a bug for mobility to drive an effort of creating new API to eliminate their 
own "halfly redundant" functionality.
Comment 1 Alexander Kouznetsov 2008-10-14 18:37:11 UTC
Created attachment 71789 [details]
Stacktraces
Comment 2 Adam Sotona 2010-09-15 06:24:26 UTC
I have no idea what LimeWire project is and where to find it.

Reassigning to third-party
Comment 3 Petr Nejedly 2010-09-15 07:36:32 UTC
Adam,
LimeWire is a testing J2SE project, just a sample of a mid-sized project to test on something. The problem is NOT in LimeWire (hence reassiging back from third-party).

Generally, the "problem", as described, should manifest itself using any (nontrivial) J2SE project.
See http://wiki.netbeans.org/FitnessViaWhiteAndBlackList#Control_what_classes_are_loaded_on_NetBeans_startup
Comment 4 Tomas Pavek 2010-09-15 08:29:54 UTC
Link to limewire project:
http://hg.netbeans.org/binaries/FDCBE13B6CA7B154F6EE29BEF3B9404F7A7B1A57-lime6.zip
Comment 5 Adam Sotona 2010-09-15 10:49:29 UTC
Now I see, thanks.

Changed summary text and issue type to enhancement.