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

Case TranslucentJAppletTest.jtr automatically failed due to java.lang.RuntimeException

XMLWordPrintable

    • 7
    • b140
    • x86
    • linux_redhat_5.0
    • Verified

      Test suite name: AWT
      JDK/JRE tested: jdk-7-ea-bin-b122-linux-i586-16_dec_2010.bin
      OS/architecture:rhel5.5-x86
      Reproducible: Always
      Reproducible on machine:
      [If sometimes] Also reproducible on machine:
      Is it a platform specific regression: N
      [If yes] Is it a new platform support: N
      [If yes] Regression relative to OS version:
      Is it a Regression: N
      [If yes] Regression introduced in release/build: 7b120
      [If yes] Test result on FCS: See the actual result.
      Test run log location: http://jsqalab.sfbay.sun.com/results/Evergreen/7/1.7.0b122/awt/rhel5.5-x86/work//java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.jtr
      Test run result location: http://jsqalab.sfbay.sun.com/results/Evergreen/7/1.7.0b122/awt/rhel5.5-x86/work//java/awt/Window/TranslucentJAppletTest/

      Steps to reproduce:

      1. Install test bundle JDK7b122 from

      http://jre.sfbay/java/re/jdk/7/promoted/ea/b122/bundles/linux-i586/

      to =/workspaces/awt/jdk1.7.0b122

      2. Install Jtreg from http://jre.sfbay.sun.com/java/re/jtreg/4.1/promoted/latest/binaries/latest/jtreg/

       locate at /workspaces/awt/reg/jtreg

      3. Download and unzip jdk7 ws from

      http://hg.openjdk.java.net/jdk7/awt/jdk

      to /workspaces/awt/reg/ws

      4. Modify the reg_awt.sh as:

      export JAVA_HOME=/workspaces/awt/jdk1.7.0b102

      /workspaces/awt/reg/jtreg/linux/bin/jtreg -g -v -m -ignore:run -jdk:/workspaces/awt/jdk1.7.0b122 -r:/workspaces/awt/reg/report -w:/workspaces/awt/reg/work /workspaces/awt/reg/ws/test Make printer work fine.

      5. From command line, run sh ./reg_awt.sh

      6. After Jtreg launched, choose Current Configuration from View Filter:Status of ,

      7. Choose New Configuration from Configure of menu bar.

      8. Choose Yes form Specify Test to Run ,click Next button then choose From a List a File,click next button and click Browse button to choose /workspaces/awt /awt.list.

      9. Click next button and select the default option.

      10. Choose Yes button from Specify Keyword? then click next button and type manual on the textfield of Response and click Done button to save a *jti file.

      11. Click StartRunning Test button to run the case.

       

      Actual behavior:

      The case automatically failed due to main' threw exception: java.lang.RuntimeException: Test FAILED: frame pixel at (0, 0) is not transparent

       Log file:

      color1 = java.awt.Color[r=53,g=2,b=2]

      newColor1 = java.awt.Color[r=255,g=255,b=255]

      java.lang.RuntimeException: Test FAILED: frame pixel at (0, 0) is not transparent

        at TranslucentJAppletTest.main(TranslucentJAppletTest.java:92)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:613)

        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)

        at java.lang.Thread.run(Thread.java:732)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED: frame pixel at (0, 0) is not transparent

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED: frame pixel at (0, 0) is not transparent

       

      Verify:

      1. On platform sles11 x86 with same build also has same issue.

      2. On the same platform with build 7b120,7b121, also has same issue.

      3. On platform win7-sp1-x86 with same build the case passed.

            anthony Anthony Petrov (Inactive)
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: