Product Version: NetBeans IDE Dev (Build 201205070400)
Java: 1.6.0_32; Java HotSpot(TM) 64-Bit Server VM 20.7-b02
System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb)
In Project Properties of an FX project, non-FX Java Platform can be selected for use. This shouldn't be possible now according to issue 202300.
Created attachment 133718 [details]
API change + patch resolving this issue
We face the following problem: FX project as an extension of SE Project reuses SE infrastructure including UI components; because SE infrastructure knows nothing about the restrictions put on Java Platforms in FX projects, there is currently now way of preventing the users to select unusable Java Platform in standard project dialogs.
Please evaluate the API change that introduces optional filtering of platform lists that can be realized in SE project extensions. The attachment contains API change, change in project code to resolve this issue and tests.
Seems good to me.
as there was no more comments I pushed the change:
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Petr Somol <email@example.com>
Log: #212238 - Platform without FX can be select for use in FX Project Properties