We found the different behavior among 1.3.1, 1.4.2 and tiger-b63
in Java plug-in for PrintJob class.
A security exception appears both in 1.4.2_05 and tiger-b63,
but not in 1.3.1_13.
java.lang.SecurityException: checkPrintJobAccess
at sun.plugin.security.ActivatorSecurityManager.showPrintDialogImpl(Unknown Source)
at sun.plugin.security.ActivatorSecurityManager.access$000(Unknown Source)
at sun.plugin.security.ActivatorSecurityManager$1.execute(Unknown Source)
at sun.plugin.util.PluginSysUtil$SysExecutionThread.run(Unknown Source)
REPRODUCE :
1) Compile the attached java program.
( I did in 1.3.1_11)
2) Open the attached html by IE
The applet like the attached jpg file will shows up..
3) Click the "print" button.
Warning dialogue shows up.
4) Click the "cancel " button in the dialogue.
Both in 1.4.2_05 and tiger-b63, a security exception occurs.
However, in 1.3.1_13, security exception does not occur and
the page setting dialogue shows up next.
CONFIGURATION :
OS : Windows XP ( SP1, Japanese )
MPU : Pentium IV 1.4[GHz]
IE : IE 6.0 (SP1)
JRE : 1.3.1_13/1.4.2_05/tiger-b63
REQUEST:
To clarify which behaviors of versions is correct, in 1.4.2 or in 1.3.1 ?
===============================================================================================
in Java plug-in for PrintJob class.
A security exception appears both in 1.4.2_05 and tiger-b63,
but not in 1.3.1_13.
java.lang.SecurityException: checkPrintJobAccess
at sun.plugin.security.ActivatorSecurityManager.showPrintDialogImpl(Unknown Source)
at sun.plugin.security.ActivatorSecurityManager.access$000(Unknown Source)
at sun.plugin.security.ActivatorSecurityManager$1.execute(Unknown Source)
at sun.plugin.util.PluginSysUtil$SysExecutionThread.run(Unknown Source)
REPRODUCE :
1) Compile the attached java program.
( I did in 1.3.1_11)
2) Open the attached html by IE
The applet like the attached jpg file will shows up..
3) Click the "print" button.
Warning dialogue shows up.
4) Click the "cancel " button in the dialogue.
Both in 1.4.2_05 and tiger-b63, a security exception occurs.
However, in 1.3.1_13, security exception does not occur and
the page setting dialogue shows up next.
CONFIGURATION :
OS : Windows XP ( SP1, Japanese )
MPU : Pentium IV 1.4[GHz]
IE : IE 6.0 (SP1)
JRE : 1.3.1_13/1.4.2_05/tiger-b63
REQUEST:
To clarify which behaviors of versions is correct, in 1.4.2 or in 1.3.1 ?
===============================================================================================