Integrated: 8263420: Incorrect function name in NSAccessibilityStaticText native peer implementation

2021-03-15 Thread Pankaj Bansal
On Thu, 11 Mar 2021 07:57:23 GMT, Pankaj Bansal wrote: > The implementation of NSAccessibilityStaticText protocol > (https://developer.apple.com/documentation/appkit/nsaccessibilitystatictext) > has an incorrect function name which results in the function not being called > by Voice Over. The

Re: RFR: 8261785: Calling "main" method in anonymous nested class crashes the JVM

2021-03-15 Thread David Holmes
On 16/03/2021 11:58 am, Sergey Bylokhov wrote: On Sun, 14 Mar 2021 23:34:55 GMT, Henry Jen wrote: This patch ensure launcher won't crash JVM for the new static Methods from local/anonymous class on MacOS. As @dholmes-ora pointed out in the analysis, this is a MacOS specific bug when the

Re: RFR: 8261785: Calling "main" method in anonymous nested class crashes the JVM

2021-03-15 Thread Sergey Bylokhov
On Sun, 14 Mar 2021 23:34:55 GMT, Henry Jen wrote: > This patch ensure launcher won't crash JVM for the new static Methods from > local/anonymous class on MacOS. > > As @dholmes-ora pointed out in the analysis, this is a MacOS specific bug > when the launcher trying to grab class name to be

Re: RFR: 8261785: Calling "main" method in anonymous nested class crashes the JVM

2021-03-15 Thread Sergey Bylokhov
On Sun, 14 Mar 2021 23:34:55 GMT, Henry Jen wrote: > This patch ensure launcher won't crash JVM for the new static Methods from > local/anonymous class on MacOS. > > As @dholmes-ora pointed out in the analysis, this is a MacOS specific bug > when the launcher trying to grab class name to be

RFR: 8261352: Create implementation for component peer for all the components who should be ignored in a11y interactions

2021-03-15 Thread Alexander Zuev
Initial implementation Moved the CAccessibility ignore list initialization to the new code Some cleanup Expose a new API - isAccessibilityElement instead of deprecated accessibilityIsIgnored - Commit messages: - 8261352: Create implementation for component peer for all the

Integrated: 8263530: sun.awt.X11.ListHelper.removeAll() should use clear()

2021-03-15 Thread Aleksey Shipilev
On Fri, 12 Mar 2021 15:44:39 GMT, Aleksey Shipilev wrote: > SonarCloud reports: > Remove or correct this "removeAll" call. > > void removeAll() { > items.removeAll(items); // <--- here > updateScrollbars(); > } > > Calling `removeAll()` with the same collection risks

Integrated: 8263490: [macos] Crash occurs on JPasswordField with activated InputMethod

2021-03-15 Thread Toshio Nakamura
On Fri, 12 Mar 2021 08:16:09 GMT, Toshio Nakamura wrote: > Hi, > Please review the fix for the issue of JPasswordField and activated > InputMethod on macOS. > I don't think this condition is usual, but I'd like to avoid crash. > > It needs two additional checks in "AWTView >

Re: RFR: 8260931: Implement JEP 382: New macOS Rendering Pipeline [v10]

2021-03-15 Thread Alexey Ushakov
On Fri, 12 Mar 2021 00:36:34 GMT, Sergey Bylokhov wrote: >> I fixed some conversion logic within JDK-8256331. > > OK, just to confirm. I wrote that text for OGL because it was the fastest way > to transfer+convert the data from the video card to the memory. And as far as > I understand the

Integrated: 8260931: Implement JEP 382: New macOS Rendering Pipeline

2021-03-15 Thread Ajit Ghaisas
On Thu, 4 Feb 2021 10:35:02 GMT, Ajit Ghaisas wrote: > **Description :** > This is the implementation of [JEP 382 : New macOS Rendering > Pipeline](https://bugs.openjdk.java.net/browse/JDK-8238361) > It implements a Java 2D internal rendering pipeline for macOS using the Apple > Metal API. >

Re: RFR: 8263530: sun.awt.X11.ListHelper.removeAll() should use clear() [v2]

2021-03-15 Thread Aleksey Shipilev
> SonarCloud reports: > Remove or correct this "removeAll" call. > > void removeAll() { > items.removeAll(items); // <--- here > updateScrollbars(); > } > > Calling `removeAll()` with the same collection risks concurrent modification > exceptions. `clear()` would be

Re: RFR: 8260931: Implement JEP 382: New macOS Rendering Pipeline [v13]

2021-03-15 Thread Sergey Bylokhov
On Thu, 11 Mar 2021 18:00:15 GMT, Ajit Ghaisas wrote: >> **Description :** >> This is the implementation of [JEP 382 : New macOS Rendering >> Pipeline](https://bugs.openjdk.java.net/browse/JDK-8238361) >> It implements a Java 2D internal rendering pipeline for macOS using the >> Apple Metal