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

java/awt/Window/Grab/GrabTest.java fails on Windows

    Details

    • Subcomponent:
    • Resolved In Build:
      b19

      Backports

        Description

        Windows 7, JDK 10 ..

        ----------System.out:(9/995)----------
        java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=Press,when=1516327884547,modifiers=Ctrl+Alt+Shift] on button0
        java.awt.event.MouseEvent[MOUSE_PRESSED,(100,100),absolute(500,200),button=1,modifiers=Alt+Ctrl+Shift+Button1+Button2,extModifiers=Ctrl+Alt+Shift+Button1,clickCount=1] on win0
        java.awt.event.MouseEvent[MOUSE_PRESSED,(150,150),absolute(150,150),button=1,modifiers=Alt+Ctrl+Shift+Button1+Button2,extModifiers=Ctrl+Alt+Shift+Button1,clickCount=1] on frame0
        sun.awt.UngrabEvent[java.awt.Window[win0,400,100,200x200,layout=java.awt.FlowLayout]]
        sun.awt.UngrabEvent[java.awt.Window[win0,400,100,200x200,layout=java.awt.FlowLayout]]
        sun.awt.UngrabEvent[java.awt.Window[win0,400,100,200x200,layout=java.awt.FlowLayout]]
        sun.awt.UngrabEvent[java.awt.Window[win0,400,100,200x200,layout=java.awt.FlowLayout]]
        sun.awt.UngrabEvent[java.awt.Window[win0,400,100,200x200,layout=java.awt.FlowLayout]]
        sun.awt.UngrabEvent[java.awt.Window[win1,0,0,100x100,invalid,layout=java.awt.BorderLayout]]
        ----------System.err:(15/884)----------
        Failure: [4] Press inside of Frame's title didn't cause ungrab
        java.lang.RuntimeException: Test failed.
        at GrabTest.test(GrabTest.java:233)
        at GrabTest.main(GrabTest.java:123)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed.
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  serb Sergey Bylokhov
                  Reporter:
                  prr Philip Race
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: