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

java/awt/Graphics2D/CopyAreaOOB.java fails

XMLWordPrintable

    • 2d
    • b06
    • generic, x86
    • os_x

        Java Version: 1.7.0-b118 and early(like b115)
        Platform: windowsXPpro(with GeForce GTS250, 1280x1024 and 32 bits color depth) and Vista


        The problem:
        The regression test CopyAreaOOB.java fails in windows platforms, it expected green region at x=0, y=0 as ff00ff00, but actually it is ffffffff.

        It is fine in solaris.

        The error as followings:
        C:\jdk1.7.0\bin\java CopyAreaOOB
        Exception in thread "main" java.lang.RuntimeException: Test failed for green reg
        ion at x=0 y=0 (expected=ff00ff00 actual=ffffffff)
                at CopyAreaOOB.testRegion(CopyAreaOOB.java:62)
                at CopyAreaOOB.main(CopyAreaOOB.java:114)

        How to reproduce the problem:
        1, Use the attached the test to compile and run.
        Or you can find the test at:
        test/closed/sun/java2d/OpenGL/CopyAreaOOB.java
        QARE: sun/java2d/OpenGL/CopyAreaOOB.java

              myano Masanori Yano
              ttzhang Tao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: