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

IllegalArgumentException thrown by api/java_awt/Component/FlipBufferStrategy/indexTGF_General

    Details

    • Subcomponent:
    • Introduced In Build:
      b100
    • Resolved In Build:
      b107
    • OS:
      linux, solaris

      Backports

        Description

        Testsuite name: JCK runtime
        TestSuite Version : jck-runtime-9/b27
        Test Name(s):api/java_awt/Component/FlipBufferStrategy/indexTGF.html\#General
        Product(s) tested: JDK 9 b100(64bit)

        Reproducible: Always

        Is it a Regression: Yes
        [If regression]Issue was introduced in JDK9b100

        Is it a platform specific issue: Yes
        [If platform specific issue] It fails with Solaris 11 sun4u, Solaris 12 x64, Linux x64.

          Issue Links

            Activity

            Hide
            ssadetsky Semyon Sadetsky added a comment -
            regression of JDK-8140530
            Show
            ssadetsky Semyon Sadetsky added a comment - regression of JDK-8140530
            Hide
            srastogi Shilpi Rastogi added a comment -
            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" Exception java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_lessThanTwoBuffers_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_lessThanTwoBuffers_IAE

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_noPageFlipping_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_noPageFlipping_IAE

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_nopeer_ISE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_nopeer_ISE

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow] test cases: 4; all failed; first test case failure: constructor_enclosingWindow

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_lessThanTwoBuffers_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_lessThanTwoBuffers_IAE

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_noPageFlipping_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_noPageFlipping_IAE

            RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_nopeer_ISE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_nopeer_ISE
            Show
            srastogi Shilpi Rastogi added a comment - RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" Exception java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_lessThanTwoBuffers_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_lessThanTwoBuffers_IAE RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_noPageFlipping_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_noPageFlipping_IAE RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas_nopeer_ISE] test cases: 4; all failed; first test case failure: constructor_enclosingCanvas_nopeer_ISE RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow] test cases: 4; all failed; first test case failure: constructor_enclosingWindow RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_lessThanTwoBuffers_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_lessThanTwoBuffers_IAE RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_noPageFlipping_IAE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_noPageFlipping_IAE RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow_nopeer_ISE] test cases: 4; all failed; first test case failure: constructor_enclosingWindow_nopeer_ISE
            Hide
            psadhukhan Prasanta Sadhukhan added a comment -
            Is it possible to get a standalone testcase showing the problem as I do not have a JCK setup.

            Also, I will like to know if this jck test fails on windows.

            This is because IAE was thrown on windows if VolatileImage of 0 width and height was asked to be created even before JDK-8140530 fix. JDK-8140530 just cause IAE to be thrown for VolatileImage of 0 width,height on linux platform just to make it consistent with windows behaviour and also with createCompatibleImage(0,0) or a BufferedImage(0,0,imagetype) where it was already resulting in IAE.
            So, is the JCK test expects IAE on windows and not on linux? why that will be the case?
            Show
            psadhukhan Prasanta Sadhukhan added a comment - Is it possible to get a standalone testcase showing the problem as I do not have a JCK setup. Also, I will like to know if this jck test fails on windows. This is because IAE was thrown on windows if VolatileImage of 0 width and height was asked to be created even before JDK-8140530 fix. JDK-8140530 just cause IAE to be thrown for VolatileImage of 0 width,height on linux platform just to make it consistent with windows behaviour and also with createCompatibleImage(0,0) or a BufferedImage(0,0,imagetype) where it was already resulting in IAE. So, is the JCK test expects IAE on windows and not on linux? why that will be the case?
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/3cef15298cd1
            User: psadhukhan
            Date: 2016-01-27 08:42:25 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/3cef15298cd1 User: psadhukhan Date: 2016-01-27 08:42:25 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/3cef15298cd1
            User: lana
            Date: 2016-02-24 20:06:43 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/3cef15298cd1 User: lana Date: 2016-02-24 20:06:43 +0000
            Hide
            afomin Alexander Fomin added a comment -
            Could you please push the fix to 8u-CPU. We would like to run nightly for the fix.
            Show
            afomin Alexander Fomin added a comment - Could you please push the fix to 8u-CPU. We would like to run nightly for the fix.
            Hide
            afomin Alexander Fomin added a comment -
            URSQE OK to take the tck-red regression bug fix to CPU16_04
            Show
            afomin Alexander Fomin added a comment - URSQE OK to take the tck-red regression bug fix to CPU16_04

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                rjindal Rohit Jindal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: