Integrated: 8273678 TableAccessibility and TableRowAccessibility miss autorelease

Artem Semenov asemenov at openjdk.java.net
Mon Oct 25 16:30:12 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").

This pull request has now been integrated.

Changeset: 3221a14f
Author:    Artem Semenov <asemenov at openjdk.org>
Committer: Anton Tarasov <ant at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3221a14f9eaf002d91597d84efdb125704710a4c
Stats:     231 lines in 5 files changed: 136 ins; 78 del; 17 mod

8273678: TableAccessibility and TableRowAccessibility miss autorelease

Reviewed-by: ant, kizune, pbansal

-------------

PR: https://git.openjdk.java.net/jdk/pull/6020



More information about the client-libs-dev mailing list