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 59974 - Warning: the module org.netbeans.modules.java uses org.openide.compat which is deprecated: The classes in this API are all deprecated and can be replaced by more modern APIs.
Summary: Warning: the module org.netbeans.modules.java uses org.openide.compat which i...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks: 59488
  Show dependency tree
 
Reported: 2005-06-15 08:16 UTC by Marian Mirilovic
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Changes in the java module to remove ExplorerPanel (8.92 KB, patch)
2005-09-15 09:47 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-06-15 08:16:28 UTC
NB.dev(200506142000)

Warning in the console just after start:

[org.netbeans.core.modules #2] Warning: the module org.netbeans.modules.java
uses org.openide.compat which is deprecated: The classes in this API are all
deprecated and can be replaced by more modern APIs.
Comment 1 Jan Becicka 2005-09-08 14:24:40 UTC
Only ExplorerPanel is needed AFAIK. I'll try to use more modern APIs.
Comment 2 Jaroslav Tulach 2005-09-14 11:03:26 UTC
Now (after fix of issue 59979) java is the last module in NetBeans  
distribution which is using the org.openide.compat. The fix seems pretty  
trivial and if you do not mind, I'll do it as I need to measure the 
improvement startup time after the change. 
Comment 3 Jaroslav Tulach 2005-09-15 09:46:46 UTC
I guess I have a patch that removes the use of deprecated ExplorerPanel. I 
plan to apply it as soon as the performance measuring infrastructure starts to 
work. Review of the patch would be nice. 
Comment 4 Jaroslav Tulach 2005-09-15 09:47:37 UTC
Created attachment 24823 [details]
Changes in the java module to remove ExplorerPanel
Comment 5 Jan Becicka 2005-09-22 13:02:55 UTC
Patch seems to be ok. But don't forget to update deps.txt and other ide/golden
files ;)
Jardo go ahead and do the commit. Thanks.
Comment 6 Pavel Flaska 2005-09-22 13:12:25 UTC
Honza was faster :-). Patch is OK, ide/golden/deps.txt has to be updated.
Comment 7 Tomas Hurka 2005-09-22 13:16:09 UTC
The patch looks good, but why all form-editor generated private fields was changed to public?
Comment 8 Jaroslav Tulach 2005-09-23 09:39:35 UTC
"#59974: Java does not use org.openide.compat anymore" 
 
Checking in java/nbproject/project.xml; 
/cvs/java/nbproject/project.xml,v  <--  project.xml 
new revision: 1.20; previous revision: 1.19 
done 
Checking in java/src/org/netbeans/modules/java/tools/OverridePanel2.form; 
/cvs/java/src/org/netbeans/modules/java/tools/OverridePanel2.form,v  <--  
OverridePanel2.form 
new revision: 1.3; previous revision: 1.2 
done 
Checking in java/src/org/netbeans/modules/java/tools/OverridePanel2.java; 
/cvs/java/src/org/netbeans/modules/java/tools/OverridePanel2.java,v  <--  
OverridePanel2.java 
new revision: 1.11; previous revision: 1.10 
done 
Checking in ide/golden/cluster-deps.txt; 
/cvs/ide/golden/cluster-deps.txt,v  <--  cluster-deps.txt 
new revision: 1.35; previous revision: 1.34 
done 
Checking in ide/golden/deps.txt; 
/cvs/ide/golden/deps.txt,v  <--  deps.txt 
new revision: 1.210; previous revision: 1.209 
 
Comment 9 Marian Mirilovic 2005-10-04 15:02:10 UTC
verified in NB5.0 (200510031800)