United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8001171 : Java API to change and query WebJava switch status

Details
Type:
Bug
Submit Date:
2012-10-19
Status:
Closed
Updated Date:
2012-11-28
Project Name:
JDK
Resolved Date:
2012-10-24
Component:
deploy
OS:
Sub-Component:
plugin
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
Fixed Versions:
7u10 (b13)

Related Reports
Backport:
Backport:
Backport:

Sub Tasks

Description
Java API to change and query WebJava switch status

this will be used by Java Control Panel
                                    

Comments
added Java API and also Window's platform specific implementation

API will be used by Java Control Panel or RegisterDeploy (future)

See Platform.java for new Java API added

tested by manually calling into:

Platform.get().isWebJavaEnabled();
Platform.get().queryWebJavaState();
Platform.get().setWebJavaEnabled(true or false);

and ensure desired results is achieved.

webrev:  http://sa.us.oracle.com/mail-archive/8001171-deployment
                                     
2012-10-19
/test: http://closedjdk.us.oracle.com/jdk7u/jdk7u10/deploy/rev/d8e57e613e42
                                     
2012-11-19
The whole "Disable Java" security feature  has been covered by auto and manual tests for 7u10 b13 - b17.
New "disable java" tests also indirectly tests this CR as direct testing can't be performed by SQE ( internal API changes ).

See test matrices for 7u10 b17:
http://st2.ru.oracle.com/StatusTool2/faces/queryresult2.jsp?matrix_id=1000024634
http://st2.ru.oracle.com/StatusTool2/faces/queryresult2.jsp?matrix_id=1000024636

                                     
2012-11-28



Hardware and Software, Engineered to Work Together