United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6685605 Regression: command-line arguments from Java Applet Runtime Settings are being lost
JDK-6685605 : Regression: command-line arguments from Java Applet Runtime Settings are being lost

Details
Type:
Bug
Submit Date:
2008-04-08
Status:
Closed
Updated Date:
2010-11-03
Project Name:
JDK
Resolved Date:
2008-05-21
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b23)

Related Reports
Relates:
Relates:

Sub Tasks

Description
###@###.### pointed out that command-line arguments specified via the Java Applet Runtime Settings in the Java Control Panel are being lost. This can be confirmed by specifying a system property like -Dsun.java2d.noddraw=true in the control panel, runnng any simple applet, and dumping the system properties in the Java Console. Command-line arguments specified via the java_arguments applet parameter or via JNLP are apparently working fine. This is likely a side-effect of the recent changes to merge the JREInfo with the PluginJavaInfo. It is a significant regression because it will prevent the effective debugging of applets (-Xdebug is an insecure command-line argument and needs to be specified via the Java Control Panel so it will be treated as a trusted argument) as well as prevent certain legacy applets from working as expected.

                                    

Comments
SUGGESTED FIX

Getting rid of PluginJavaInfo, finally.
We (Andy, Ken and I) have discussed this before weeks
and agreed that we can use the unified version.

This simplifies the Config/JREInfo code,
the UI of the control panel, etc.
                                     
2008-04-13
EVALUATION

Indeed, the complexity of PluginJavaInfo and JREInfo 'collaboration'
were responsible of the loss of the vm-args.
                                     
2008-04-13



Hardware and Software, Engineered to Work Together