Java API to change and query WebJava switch status
this will be used by Java Control Panel
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().setWebJavaEnabled(true or false);
and ensure desired results is achieved.
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: