Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6218454

JCK-runtime-15: -server -Xcomp flags causes 2 errors in api/javax_swing/ImageIcon/

XMLWordPrintable

    • b28
    • generic
    • windows_2000
    • Verified

        -server and -Xcomp flags when used in combination cause 3 failures in the api/javax_swing/ImageIcon/ 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 3 failures seen in the api/javax_swing/ImageIcon/ 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.javax.swing.ImageIcon.CtorTests -TestURL file:///Z:/jck/JCK-runtime-15/tests/api/javax_swing/ImageIcon/index.html#Ctor

        The following out is seen:
        Uncaught error fetching image:
        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:136)
        ----------out2:(0/0)----------
        result: Error. Program `c:\progra~1\java\jdk1.5.0_02\bin\java.exe' interrupted! (timed out?)

        I have attached the jtr files of the test cases that have errors

        If the -server flag or the -Xcomp flag are removed in the interview the testcases that have errors will pass

         


        ###@###.### 2005-1-18 13:46:25 GMT

              rasbold Chuck Rasbold
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: