--- old/src/java.desktop/share/classes/java/awt/DefaultFocusTraversalPolicy.java 2015-03-04 01:20:41.000000000 +0300 +++ new/src/java.desktop/share/classes/java/awt/DefaultFocusTraversalPolicy.java 2015-03-04 01:20:41.000000000 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2015, 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 @@ -93,7 +93,6 @@ * @return true if aComponent meets the above requirements; * false otherwise */ - @SuppressWarnings("deprecation") protected boolean accept(Component aComponent) { if (!(aComponent.isVisible() && aComponent.isDisplayable() && aComponent.isEnabled())) @@ -123,7 +122,7 @@ return focusable; } - ComponentPeer peer = aComponent.getPeer(); + ComponentPeer peer = aComponent.peer; return (peer != null && peer.isFocusable()); } }