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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -55,15 +55,14 @@ _JNI_IMPORT_OR_EXPORT_ jboolean JNICALL JAWT_GetAWT
|
|||||||
|
|
||||||
awt->GetDrawingSurface = awt_GetDrawingSurface;
|
awt->GetDrawingSurface = awt_GetDrawingSurface;
|
||||||
awt->FreeDrawingSurface = awt_FreeDrawingSurface;
|
awt->FreeDrawingSurface = awt_FreeDrawingSurface;
|
||||||
if (awt->version >= JAWT_VERSION_1_4) {
|
|
||||||
awt->Lock = awt_Lock;
|
awt->Lock = awt_Lock;
|
||||||
awt->Unlock = awt_Unlock;
|
awt->Unlock = awt_Unlock;
|
||||||
awt->GetComponent = awt_GetComponent;
|
awt->GetComponent = awt_GetComponent;
|
||||||
if (awt->version >= JAWT_VERSION_9) {
|
if (awt->version >= JAWT_VERSION_9) {
|
||||||
awt->CreateEmbeddedFrame = awt_CreateEmbeddedFrame;
|
awt->CreateEmbeddedFrame = awt_CreateEmbeddedFrame;
|
||||||
awt->SetBounds = awt_SetBounds;
|
awt->SetBounds = awt_SetBounds;
|
||||||
awt->SynthesizeWindowActivation = awt_SynthesizeWindowActivation;
|
awt->SynthesizeWindowActivation = awt_SynthesizeWindowActivation;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return JNI_TRUE;
|
return JNI_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user