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

javax/swing/JMenu/4515762/bug4515762.java fails on macOS 12

    XMLWordPrintable

Details

    Backports

      Description

        This has failed in all my test runs using the jtreg/mach5 harness
        on both ARM and x64 versions of macOS 12

        The test log is just
        java.lang.RuntimeException: Action has not been received
        at bug4515762.checkAction(bug4515762.java:106)
        at bug4515762.main(bug4515762.java:165)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Action has not been received
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Action has not been received

        Since this is right after the robot has called
                    robot.keyPress(KeyEvent.VK_M);
                    robot.keyRelease(KeyEvent.VK_M);

        It looks like it may be related to the problem described in https://bugs.openjdk.java.net/browse/JDK-8273520

        But in this case I have not (yet) been able to reproduce it on macOS 12 outside the test harness ..

        Possibly it isn't reproducing using screen sharing which is what I had to use today but it is repeatable enougj in the harness to need a bug and investigation.

        Attachments

          Issue Links

            Activity

              People

                psadhukhan Prasanta Sadhukhan
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: