[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] Integrated: 8259869: [macOS] Remove desktop module dependencies on JNF Reference AP
From:       Phil Race <prr () openjdk ! java ! net>
Date:       2021-01-22 1:55:58
Message-ID: FfX-lFywRZFbBKISx9Lsyrl7hKiUfL_yVAeW53vJzSk=.89301b4d-5671-484e-a9a5-a6004b4885d4 () github ! com
[Download RAW message or body]

On Mon, 18 Jan 2021 16:08:37 GMT, Phil Race <prr@openjdk.org> wrote:

> This removes desktop module usage of the JNF JNI reference convenience APIs
> These are simply a direct conversion
> JNFNewGlobalRef 
> JNFDeleteGlobalRef 
> JNFNewWeakGlobalRef 
> JNFDeleteWeakGlobalRef 
> 
> These two
> JNFJObjectWrapper 
> JNFWeakJObjectWrapper 
> exist to allow clean up of the refs when a Cocoa wrapper object is released.
> However in all cases there are more direct ways to clean it up and in at least one usage
> the existing code directly releases it with the comment that this is more efficient.
> 
> All our automated regression and JCK tests pass with this change.

This pull request has now been integrated.

Changeset: 92c2f084
Author:    Phil Race <prr@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/92c2f084
Stats:     153 lines in 21 files changed: 19 ins; 7 del; 127 mod

8259869: [macOS] Remove desktop module dependencies on JNF Reference APIs

Reviewed-by: serb

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

PR: https://git.openjdk.java.net/jdk/pull/2133
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic