[+AWTFont nsFontForJavaFont:env:]

Michael Hall mik3hall at gmail.com
Mon Sep 13 11:39:34 UTC 2021



> On Sep 9, 2021, at 5:57 PM, Alan Snyder <javalists at cbfiddle.com> wrote:
> 
> As no one is claiming ownership, should it be removed?
> Or is it expected to have some use in the future?
> 
> 
> 
>> On Sep 8, 2021, at 3:50 PM, Michael Hall <mik3hall at gmail.com> wrote:
>> 
>> 
>> 
>>> On Sep 8, 2021, at 11:23 AM, Alan Snyder <javalists at cbfiddle.com> wrote:
>>> 
>>> Is this method obsolete?
>>> 
>>> I’m not finding any uses. (Actually, IDEA is not finding any uses. Perhaps the index is broken?)
>>> 
>>> Alan
>>> 
>> 
>> BBEdit search of recent JDK GitHub clone only shows
>> 
>> ~/jdk/src/java.desktop/macosx/native/libawt_lwawt/font/AWTFont.h:41: + (NSFont *) nsFontForJavaFont:(jobject)javaFont env:(JNIEnv *)env;
>> ~/jdk/src/java.desktop/macosx/native/libawt_lwawt/font/AWTFont.m:116: + (NSFont *) nsFontForJavaFont:(jobject)javaFont env:(JNIEnv *)env {
>> 
>> No references in src directory.
> 

Another OS/X method that seems to currently (java.vm.version=18-ea+11-557)  be missing…

Lcom/apple/eawt/event/GestureHandler;.handleGestureFromNative(Ljava/awt/Window;IDDDD)V
java.lang.NoSuchMethodError: Lcom/apple/eawt/event/GestureHandler;.handleGestureFromNative(Ljava/awt/Window;IDDDD)V
java.lang.NoSuchMethodError: Lcom/apple/eawt/event/GestureHandler;.handleGestureFromNative(Ljava/awt/Window;IDDDD)V
java.lang.NoSuchMethodError: Lcom/apple/eawt/event/GestureHandler;.handleGestureFromNative(Ljava/awt/Window;IDDDD)V
java.lang.NoSuchMethodError: Lcom/apple/eawt/event/GestureHandler;.handleGestureFromNative(Ljava/awt/Window;IDDDD)V
java.lang.NoSuchMethodError:

Many times on message.
Two finger track pad gesture.





More information about the client-libs-dev mailing list