--- old/src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java 2014-12-09 10:07:32.357096732 -0800 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java 2014-12-09 10:07:32.193096725 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -46,6 +46,7 @@ XToolkit.removeEventDispatcher(embedder.getWindow(), this); } + @SuppressWarnings("deprecation") void add(long child) { if (checkXEmbed(child)) { Component proxy = createChildProxy(child);