RFR: 8273678 TableAccessibility and TableRowAccessibility miss autorelease
Artem Semenov
asemenov at openjdk.java.net
Mon Oct 25 16:03:06 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").
@pankaj-bansal please review
-------------
PR: https://git.openjdk.java.net/jdk/pull/6020
More information about the client-libs-dev
mailing list