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.
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: http://hg.netbeans.org/jet-main/rev/22dadcf56224
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/22dadcf56224 User: Petr Somol <psomol@netbeans.org> Log: #212238 - Platform without FX can be select for use in FX Project Properties