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.
Two warning dialogs pops up in sequence while running IDE on JRE only although some modules (like Java Debugger, Java Form etc.) demands some packages from full JDK. For better user experience only one dialog will be enough and should contain both messages and give a notice to users what is going wrong and how to solve it.
Created attachment 62630 [details] proposed patch
fixed: 3d1e25250d7a
Could you please add some comments to Notifier explaining what it does? It is far from clear just looking at the source why the 'questions' field exists, what options==null vs. options!=null means, or indeed why the fix of this issue works and what exactly it changes. Perhaps the logic should be rewritten to be simpler and clearer.
BTW this is Yarda's code; see issue #66960, issue #75834, and most especially issue #66960 (which was probably responsible for the dual notification to begin with).
Integrated into 'main-golden', available in NB_Trunk_Production #268 build Changeset: http://hg.netbeans.org/main/rev/155ae824c1b2 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: other fix of #136354: Don't show two warnings while running insufficient JRE