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

TEST_BUG: java/awt/GraphicsDevice/CheckDisplayModes.java fails

    Details

    • Subcomponent:
    • Introduced In Build:
      b84
    • Introduced In Version:
      8
    • Resolved In Build:
      b96
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Testsuite name: Regression
        Test name: java/awt/GraphicsDevice/CheckDisplayModes.java
        OS tested: Linux SuSE 10 32 bit, Windows 7 64 bit
        JDK tested: JDK 8b85
        Is it a regression: NO

        Test was integrated in 8b84 and fails since 8b84.

        Log:

        #section:main
        ----------messages:(3/121)----------
        command: main CheckDisplayModes
        reason: User specified action: run main CheckDisplayModes
        elapsed time (seconds): 0.155
        ----------System.out:(0/0)----------
        ----------System.err:(15/924)----------
        java.lang.UnsupportedOperationException: Cannot change display mode
        at java.awt.GraphicsDevice.setDisplayMode(GraphicsDevice.java:421)
        at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:403)
        at CheckDisplayModes.main(CheckDisplayModes.java:42)
        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:487)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
        at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.UnsupportedOperationException: Cannot change display mode
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.UnsupportedOperationException: Cannot change display mode
        result: Failed. Execution failed: `main' threw exception: java.lang.UnsupportedOperationException: Cannot change display mode


        test result: Failed. Execution failed: `main' threw exception: java.lang.UnsupportedOperationException: Cannot change display mode

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kshefov Konstantin Shefov
                  Reporter:
                  kshefov Konstantin Shefov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: