-
Bug
-
Resolution: Duplicate
-
P2
-
5.0u2
-
generic
-
windows_2000
-server and -Xcomp flags when used in combination cause a number of erros in the api/java_awt suite on Win2000pro
Harware Used:Pentium 4 2.4GHz, 1024 MB RAM
Steps to reproduce
- Setup testrun file for creation of work directory and include in the OPTIONS attribute the flags -server and -Xcomp
- Execute the command to create the workDir
- Execute the run.sh in the workDir, and run the JCK-runtime-15 testsuite
- After execution there are 12 errors seen in the api/java_awt category
This is also reproduceable manually
-the JCK testbase can be found at /net/latte.ireland/export/home4/jck/JCK-runtime-15/
-set CLASSPATH to the classes folder in the JCK-runtime-15 folder
-use the java.exe in the jdk1.5.0_x folder not the default installed jre java.exe to execute the following command:
c:\progra~1\java\jdk1.5.0_02\bin\java.exe -server -Xcomp -Djavatest.security.allowPropertiesAccess=true -Xfuture -classpath Z:\jck\JCK-runtime-15\classes -Djava.security.policy=Z:\jck\JCK-runtime-15\lib\jck.policy javasoft.sqe.tests.api.java.awt.Component.prepareImageTests -TestURL file:///Z:/jck/JCK-runtime-15/tests/api/java_awt/Component/descriptions.html#prepareImage
-the error that was seen in the JCK Harness test case api/java_awt/Component/decriptions.html#prepareImage is also seen here
The errors are seen in the following subcategories
api/java_awt/Component/
api/java_awt/Image/
api/java_awt/MediaTracker/
api/java_awt/Toolkit/
The error message seen in each testcase is as follows:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:110)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java.java:136)
See the attached jtr file also
If the -server flag or the -Xcomp flag are removed in the interview the testcases that have errors will pass
###@###.### 2005-1-18 11:50:48 GMT
Harware Used:Pentium 4 2.4GHz, 1024 MB RAM
Steps to reproduce
- Setup testrun file for creation of work directory and include in the OPTIONS attribute the flags -server and -Xcomp
- Execute the command to create the workDir
- Execute the run.sh in the workDir, and run the JCK-runtime-15 testsuite
- After execution there are 12 errors seen in the api/java_awt category
This is also reproduceable manually
-the JCK testbase can be found at /net/latte.ireland/export/home4/jck/JCK-runtime-15/
-set CLASSPATH to the classes folder in the JCK-runtime-15 folder
-use the java.exe in the jdk1.5.0_x folder not the default installed jre java.exe to execute the following command:
c:\progra~1\java\jdk1.5.0_02\bin\java.exe -server -Xcomp -Djavatest.security.allowPropertiesAccess=true -Xfuture -classpath Z:\jck\JCK-runtime-15\classes -Djava.security.policy=Z:\jck\JCK-runtime-15\lib\jck.policy javasoft.sqe.tests.api.java.awt.Component.prepareImageTests -TestURL file:///Z:/jck/JCK-runtime-15/tests/api/java_awt/Component/descriptions.html#prepareImage
-the error that was seen in the JCK Harness test case api/java_awt/Component/decriptions.html#prepareImage is also seen here
The errors are seen in the following subcategories
api/java_awt/Component/
api/java_awt/Image/
api/java_awt/MediaTracker/
api/java_awt/Toolkit/
The error message seen in each testcase is as follows:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:110)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java.java:136)
See the attached jtr file also
If the -server flag or the -Xcomp flag are removed in the interview the testcases that have errors will pass
###@###.### 2005-1-18 11:50:48 GMT
- duplicates
-
JDK-6218454 JCK-runtime-15: -server -Xcomp flags causes 2 errors in api/javax_swing/ImageIcon/
- Closed