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 171611 - Use of SystemOption and OpenIDE-Module-Loader
Summary: Use of SystemOption and OpenIDE-Module-Loader
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 171476
  Show dependency tree
 
Reported: 2009-09-07 11:28 UTC by Jaroslav Tulach
Modified: 2009-10-08 11:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-09-07 11:28:55 UTC
Fix following warnings. Don't use SystemOption, it is long time deprecated (thus making P1), don't use 
OpenIDE-Module-Loader, it is long time deprecated and hurts performance (this P1). Don't use 
org.netbeans.modules.lexer.editorbridge, it is long time deprecated and unused by rest of the IDE.

Eliminate "Warning - could not install some modules: org.netbeans.modules.javafx.sdk.sol - No module providing the 
capability org.openide.modules.os.Solaris", etc. it cause significant slowdown on subsequent restart (thus P1).


WARNING [org.netbeans.core.modules]: Class-Path value ../javafx-sdk/lib/shared/javafxc.jar from E:
\space\hudson\netbeans\javafx2\modules\org-netbeans-modules-javafx-platform.jar is illegal according to the Java 
Extension Mechanism: must be relative and not move up directories
WARNING [org.netbeans.core.modules]: Class-Path value ../javafx-sdk/lib/shared/javafxdoc.jar from E:
\space\hudson\netbeans\javafx2\modules\org-netbeans-modules-javafx-platform.jar is illegal according to the Java 
Extension Mechanism: must be relative and not move up directories
Warning - could not install some modules:
        org.netbeans.modules.javafx.sdk.sol - No module providing the capability org.openide.modules.os.Solaris could 
be found.
        org.netbeans.modules.javafx.sdk.lin - No module providing the capability org.openide.modules.os.Linux could be 
found.
        org.netbeans.modules.javafx.sdk.mac - No module providing the capability org.openide.modules.os.MacOSX could 
be found.
Warning - could not install some modules:
        JavaFX SDK for Solaris - No module providing the capability org.openide.modules.os.Solaris could be found.
        JavaFX SDK for Linux - No module providing the capability org.openide.modules.os.Linux could be found.
        JavaFX SDK for Mac OS X - No module providing the capability org.openide.modules.os.MacOSX could be found.
WARNING [org.netbeans.core.modules]: Use of OpenIDE-Module-Class: Loader in org.netbeans.modules.javafx.editor is 
obsolete.
WARNING [org.netbeans.core.modules]: (Please use layer-based installation of objects instead.)
WARNING [org.netbeans.core.modules]: the module org.netbeans.modules.javafx.editor uses 
org.netbeans.modules.lexer.editorbridge which is deprecated.

BlacklistedClassesHandler blacklist violator: org.openide.options.SystemOption
Comment 1 Petr Suchomel 2009-09-09 12:56:35 UTC
The first part of issue is related to old formating settings I suspect
Comment 2 Anton Chechel 2009-10-07 13:57:39 UTC
It has been fixed by Petr Nejedly some time ago probably.
Comment 3 Petr Nejedly 2009-10-08 11:26:00 UTC
Yes, both usage of SystemOption and manifest-declared Loader are gone.

For "No module providing the capability org.openide.modules.os.Solaris" I can only say that e.g. the windows
_installation_ (not a build.zip, but a real installer) won't contain the SDK modules for other platforms.