United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7074494 : Disabling "enable JavaFX 2.0" checkbox in JCP does not work.

Details
Type:
Bug
Submit Date:
2011-08-03
Status:
Resolved
Updated Date:
2011-09-22
Project Name:
JDK
Resolved Date:
2011-08-17
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7-client
Fixed Versions:
7u2 (b03)

Related Reports
Backport:

Sub Tasks

Description
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

                                    

Comments
EVALUATION

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.
                                     
2011-08-03
EVALUATION

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
                                     
2011-08-03



Hardware and Software, Engineered to Work Together