--- old/src/java.desktop/windows/classes/sun/awt/windows/WMenuItemPeer.java 2018-04-01 22:04:38.000000000 -0700 +++ new/src/java.desktop/windows/classes/sun/awt/windows/WMenuItemPeer.java 2018-04-01 22:04:38.000000000 -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;