<Swing Dev> Integrated: 8259869: [macOS] Remove desktop module dependencies on JNF Reference APIs
    Phil Race 
    prr at openjdk.java.net
       
    Fri Jan 22 01:55:58 UTC 2021
    
    
  
On Mon, 18 Jan 2021 16:08:37 GMT, Phil Race <prr at 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 at 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
    
    
More information about the swing-dev
mailing list