--- a/src/java.desktop/windows/classes/sun/awt/windows/WMenuItemPeer.java Wed Apr 18 08:48:06 2018 -0700
+++ b/src/java.desktop/windows/classes/sun/awt/windows/WMenuItemPeer.java Wed Apr 18 14:07:41 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2018, 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
@@ -57,20 +57,6 @@
enable(b);
}
- /**
- * DEPRECATED: Replaced by setEnabled(boolean).
- */
- public void enable() {
- enable(true);
- }
-
- /**
- * DEPRECATED: Replaced by setEnabled(boolean).
- */
- public void disable() {
- enable(false);
- }
-
private void readShortcutLabel() {
//Fix for 6288578: PIT. Windows: Shortcuts displayed for the menuitems in a popup menu
WMenuPeer ancestor = parent;