8291472: [macos] jawt 1.4 lock/unlock not supported
Reviewed-by: serb
This commit is contained in:
parent
e965d70a74
commit
2ce85d9635
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -55,7 +55,7 @@ _JNI_IMPORT_OR_EXPORT_ jboolean JNICALL JAWT_GetAWT
|
||||
|
||||
awt->GetDrawingSurface = awt_GetDrawingSurface;
|
||||
awt->FreeDrawingSurface = awt_FreeDrawingSurface;
|
||||
if (awt->version >= JAWT_VERSION_1_4) {
|
||||
|
||||
awt->Lock = awt_Lock;
|
||||
awt->Unlock = awt_Unlock;
|
||||
awt->GetComponent = awt_GetComponent;
|
||||
@ -64,7 +64,6 @@ _JNI_IMPORT_OR_EXPORT_ jboolean JNICALL JAWT_GetAWT
|
||||
awt->SetBounds = awt_SetBounds;
|
||||
awt->SynthesizeWindowActivation = awt_SynthesizeWindowActivation;
|
||||
}
|
||||
}
|
||||
|
||||
return JNI_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user