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.
Module A implements OptionProcessor. The command line processing results in some Java Propertys. Module B uses ModuleInstalled.restored() and executes some code by invoking invokeWhenUIReady based on the Java Propertys saved by Module A Sometimes it happens that the code executed by invokeWhenUIReady is executed before the option processor is invoked. I cauld reproduce this effect on WindowsXP and also Linux. If I have defined a Module dependency: Module B depends on Module A, I cauld not reproduce this effect. But maybe the problem is still there.
i'm not sure the api guarantees the order of execution for OptionProcessor and invokeWhenUIReady reassigning for evaluation
I want to fix this for 6.9.
core-main#35b5cdc45017
Integrated into 'main-golden', will be available in build *201002100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/35b5cdc45017 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #178410: process CLI options before additonal RunLevels (including UI) are started