JDK-6858117 : javaplugin.vm.options is returning "null" on most of the configs against the valid set of options
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u15
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-07-07
  • Updated: 2010-09-16
  • Resolved: 2009-08-11
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 Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u17 b01Fixed 7Fixed
Related Reports
Relates :  
Description
Property "javaplugin.vm.options" used to return valid values against the valid and secure set of runtime arguments/properties but that's not true anymore. FOr example when -Xint is passed as runtime arg then "javaplugin.vm.options" used to retunr "-Xint" on all the configs but right now it's returning null.
Issues is reproduced mainly on VISTA and unix machines

Steps to reproduce:
--------------------
1) Try to load the following applet http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_mustang_exec_ws/deployment/src/plugin/runtimeArgs/runtimeArgs/html/auto/IntegratedMode/TestRuntimeArgsXint.html

If inside the signed applet area , nothing is getting displayed against "Vm options" then bug is reproduced

Comments
EVALUATION The bug was caused by comparing the List of String "args" with individual string such as INTERNAL_SEPARATOR_ARG. Fix: in JVMParamters.parseFromSystemPropertyImpl, we should be comparing individual "arg" with INTERNAL_SEPARATOR_ARG and TRUSTED_SEPARATOR_ARG.
20-07-2009

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u17/6858117.0
20-07-2009

EVALUATION This regression was introduced by the fix for 6810893 in 6u14 b04. The problem is in JVMParameters.parseFromSystemPropertyImpl, there's a condition check before calling addArgumentImpl. Without the condition check, it breaks 6810893.
14-07-2009