--- old/src/java.desktop/share/classes/java/awt/Canvas.java 2014-12-09 10:06:49.953094855 -0800 +++ new/src/java.desktop/share/classes/java/awt/Canvas.java 2014-12-09 10:06:49.801094848 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2014, 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 @@ -70,6 +70,7 @@ } @Override + @SuppressWarnings("deprecation") void setGraphicsConfiguration(GraphicsConfiguration gc) { synchronized(getTreeLock()) { CanvasPeer peer = (CanvasPeer)getPeer();