We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cfb64 commit 72c59deCopy full SHA for 72c59de
src/java.desktop/macosx/native/libawt_lwawt/awt/CMenuBar.m
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -438,7 +438,7 @@ + (void) addDefaultHelpMenu {
438
jlong menuBarObject, jlong menuObject, jint index)
439
{
440
JNI_COCOA_ENTER(env);
441
- // Remove the specified item.
+ // Add the specified item.
442
[((CMenuBar *) jlong_to_ptr(menuBarObject)) javaAddMenu:(CMenu *) jlong_to_ptr(menuObject) atIndex:index];
443
JNI_COCOA_EXIT(env);
444
}
0 commit comments