-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.1
-
x86, sparc
-
linux, solaris_8, windows_xp
Name: asR10013 Date: 03/25/2002
Filed By : J2SE-SQA [###@###.###
JDK/JRE : jre1.4.1-b06
TCK : TCK-JNLP-1.0.1-02, b03
JavaWS : JWS1.1
Platform[s] : RH Linux 7.2
switch/Mode : tck-interactive
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test :
api/javax_jnlp/FileOpenService/index.html#openMultiFile
api/javax_jnlp/FileOpenService/index.html#openFile
api/javax_jnlp/DownloadService/index.html#interactive
api/javax_jnlp/FileSaveService/index.html#interactive
The problem is that java.awt.Window.init(GraphicsConfiguration) method in the jre1.4.1-b06
tries to read system property java.awt.syncLWRequests which is not granted to read, so the tests fail.
Test source location:
=====================
tests/api/javax_jnlp/FileOpenService/openMultiFileTests.java
tests/api/javax_jnlp/FileOpenService/openFileTests.java
tests/api/javax_jnlp/FileSaveService/interactiveTests.java
tests/api/javax_jnlp/DownloadService/interactiveTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b06/tckjnlp/linux/redhat7.2_gnome_smp_client_linux-24/workDir/interactive/api/javax_jnlp/FileOpenService/index_openMultiFile.jtr
/net/jtgb4u4c.eng/export/sail15/results/hopper/b06/tckjnlp/linux/redhat7.2_gnome_smp_client_linux-24/workDir/interactive/api/javax_jnlp/FileOpenService/index_openFile.jtr
/net/jtgb4u4c.eng/export/sail15/results/hopper/b06/tckjnlp/linux/redhat7.2_gnome_smp_client_linux-24/workDir/interactive/api/javax_jnlp/DownloadService/index_interactive.jtr
/net/jtgb4u4c.eng/export/sail15/results/hopper/b06/tckjnlp/linux/redhat7.2_gnome_smp_client_linux-24/workDir/interactive/api/javax_jnlp/FileSaveService/index_interactive.jtr
How to reproduce:
=================
1. Install JRE1.4.1-b06 onto RH Linux 7.2 machine
2. Run interactive tests api/javax_jnlp/FileOpenService/index.html, api/javax_jnlp/DownloadService/index.html#interactive using JavaTest harness.
Test output:
============
----------log:(39/2429)----------
tests: 1; failed: 1; first test case failure: FileOpenService0002
java.lang.reflect.InvocationTargetException
[...]
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.awt.syncLWRequests read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
at java.lang.System.getProperty(System.java:611)
at java.awt.Window.init(Window.java:206)
at java.awt.Window.<init>(Window.java:255)
at java.awt.Frame.<init>(Frame.java:398)
at javax.swing.JFrame.<init>(JFrame.java:198)
at javasoft.sqe.tests.api.javax.jnlp.FileOpenService.openMultiFileTests.FileOpenService0002(openMultiFileTests.java:120)
... 20 more
FileOpenService0002: Failed. Test case throws exception: java.security.AccessControlException: access denied (java.util.PropertyPermission java.awt.syncLWRequests read)
result: Failed.
test result: Failed.
Specific Machine Info:
======================
Hostname: linux-24
OS: RH Linux 7.2
======================================================================
- duplicates
-
JDK-4653937 AccessControlException in Window.init()
-
- Resolved
-