--- old/src/java.desktop/share/classes/sun/awt/HToolkit.java 2017-11-22 07:26:07.000000000 -0800 +++ new/src/java.desktop/share/classes/sun/awt/HToolkit.java 2017-11-22 07:26:07.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2017, 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 @@ -130,12 +130,19 @@ } @Override + @Deprecated(since = "10") public int getMenuShortcutKeyMask() throws HeadlessException { throw new HeadlessException(); } @Override + public int getMenuShortcutKeyMaskEx() + throws HeadlessException { + throw new HeadlessException(); + } + + @Override public boolean getLockingKeyState(int keyCode) throws UnsupportedOperationException { throw new HeadlessException();