--- old/src/java.desktop/windows/classes/sun/awt/windows/WComponentPeer.java 2018-04-01 22:04:36.000000000 -0700 +++ new/src/java.desktop/windows/classes/sun/awt/windows/WComponentPeer.java 2018-04-01 22:04:36.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 @@ -914,13 +914,6 @@ public native void endValidate(); /** - * DEPRECATED - */ - public Dimension preferredSize() { - return getPreferredSize(); - } - - /** * register a DropTarget with this native peer */