RFR: 8273678 TableAccessibility and TableRowAccessibility miss autorelease
Alexander Zuev
kizune at openjdk.java.net
Fri Oct 22 18:59:03 UTC 2021
On Tue, 19 Oct 2021 17:11:18 GMT, Artem Semenov <asemenov at openjdk.org> wrote:
> The TableAccessibility obj-c class should call [autorelease] on an object it allocates (see: [TableRowAccessibility alloc] and [ColumnAccessibility alloc]).
>
> The TableRowAccessibility obj-c class should not call [retain] on an allocated object (see: [CellAccessibility alloc]).
>
> "You own any object you create", see: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html
>
> The logic of creating a CellAccessibility object will be reimplemented in the context of [JDK-8275720](https://bugs.openjdk.java.net/browse/JDK-8275720 "bugs.openjdk.java.net").
Looks good.
-------------
Marked as reviewed by kizune (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6020
More information about the client-libs-dev
mailing list