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

[macos] VoiceOver : Moving JTable column to be the first column JVM crashes

    XMLWordPrintable

Details

    Backports

      Description

        I see JVM crashes when moving any columns to be the first column JVM crashes this happens when Voice over is enabled.

        Step to reproduce
        --------------------------
        1) Enable VoiceOver on mac
        2) Run the attached test
        3) Select or Unselect the last column checkbox and when VoiceOver is reading try moving the 'Vegetarian' column to the first column repeat the same for few times and you will the JVM crashes.

        I tried with other columns also and the crash was reproduced.
        I have attached the Screen Recording for reproducing.

        This happens only in JDK18 & JDK19 but not in previous release like 8, 11 and 17.

         After seeing the JVM crash I see that it happened at and this could be https://bugs.openjdk.java.net/browse/JDK-8271071 which was added JDK 18 ( https://github.com/openjdk/jdk/commit/c0f3e1d6beab94a6b361814585b6d77fa617e7e4)

        C [libawt_lwawt.dylib+0xa25f9] -[TableAccessibility accessibilityCellForColumn:row:]+0x29
        C [AppKit+0x683bad] -[NSAccessibilityAttributeAccessorInfo getParameterizedAttributeValue:forObject:withParameter:]+0x41
        C [AppKit+0x685745] ___NSAccessibilityEntryPointValueForAttributeWithParameter_block_invoke.840+0x1bf
        C [AppKit+0x6809ee] NSAccessibilityPerformEntryPointObject+0x10
        C [AppKit+0x68222f] NSAccessibilityEntryPointValueForAttributeWithParameter+0xac

        Attachments

          Issue Links

            Activity

              People

                kizune Alexander Zuev
                landrews Lawrence Andrews
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: