JDK-7074494 : Disabling "enable JavaFX 2.0" checkbox in JCP does not work.
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.
1. Install jre7-pro-b147
2. Install fx2.0-pro-b38
3. Open JCP to Uncheck "Enable JavaFX Runtime", click "OK"
4. Reopen JCP, if you see "Enable JavaFX Runtime" is checked again, the issue is reproduced
The problem is that now that we switched to unicode, sizeof(TCHAR) is not 1, so need sizeof(TCHAR) * (len + 1)
for last arg of RegSetValueEx both here in RegFX.cpp, and several other places in UpdateCOnf.cpp
JCP executes the following command to disable FX:
ssvagent -high -jpisetup -new -disableFX.
executing that command directly also does not disable FX
The registry key: HKLM/SOFTWARE/Oracle/JavaFX/Disabled, get set to "fa" instead of "true" when disabling, and set to "fa" instead of "false" when enabling.