Skip to content

Commit 1aded82

Browse files
committedJan 18, 2023
8300488: Incorrect usage of CATCH_BAD_ALLOC as a macro call
Reviewed-by: aivanov
1 parent bd5ca95 commit 1aded82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.desktop/windows/native/libawt/windows/awt_TrayIcon.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ Java_sun_awt_windows_WTrayIconPeer__1displayMessage(JNIEnv *env, jobject self,
11131113
AwtToolkit::GetInstance().SyncCall(AwtTrayIcon::_DisplayMessage, dms);
11141114
// global ref is deleted in _DisplayMessage
11151115

1116-
CATCH_BAD_ALLOC(NULL);
1116+
CATCH_BAD_ALLOC;
11171117
}
11181118

11191119
} /* extern "C" */

0 commit comments

Comments
 (0)
Please sign in to comment.