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

Summary: Use of SystemOption and OpenIDE-Module-Loader
Product: javafx Reporter: Jaroslav Tulach <jtulach>
Component: UnsupportedAssignee: Anton Chechel <manowar>
Status: VERIFIED WORKSFORME    
Severity: blocker CC: issues, manowar
Priority: P1 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 171476    

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.