Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4734410
Votes 0
Synopsis JAVAWS is passing the property set in extension installer to main program
Category javawebstart:other
Reported Against hopper-rc
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 21-AUG-2002
Description
See comments.

 xxxxx@xxxxx  2002-08-20
Work Around
We have work around:
1. set the property name to be jnlp.*
or,
let the main jnlp file asking full permission.

 xxxxx@xxxxx  2002-08-20
Evaluation
There are two problems here - one should be an ref to the spec:
1.) Scope of properties listed in extensions is not clear in spec.
    (The jnlp spec says component-extensions cannot have a j2se element,
     this should also apply to installer-extensions.
     The spec does not say anything about property settings in extensions,
     the code allows it, but since we know restrict properties to start with 
     javaws or jnlp if not in trusted env, we get bug 2.) below)  The spec
     should clearly state that all properties are set in the same VM, so
     will be available to code loaded from either the main jnlp file or any
     extensions.
2.)  when implementing the security fix requiring sandbox restrictions on
     setting properties in jnlp files.  It was assumed (incorrectly) that 
     all the properties could be set while loading the main jar file of the
     application, in cases like this we are no longer in a security context 
     that would allow this.
I am going to split this into 2 bugs, where 1.) above will be a new spec 
rfe or bug, and this bug will be confined to the 2.) above.

 xxxxx@xxxxx  2002-08-21
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang