--- old/src/java.desktop/share/classes/java/awt/Container.java 2014-12-09 10:06:50.473094878 -0800 +++ new/src/java.desktop/share/classes/java/awt/Container.java 2014-12-09 10:06:50.305094870 -0800 @@ -805,6 +805,7 @@ * to new heavyweight parent. * @since 1.5 */ + @SuppressWarnings("deprecation") private void reparentTraverse(ContainerPeer parentPeer, Container child) { checkTreeLock(); @@ -828,6 +829,7 @@ * Container must be heavyweight. * @since 1.5 */ + @SuppressWarnings("deprecation") private void reparentChild(Component comp) { checkTreeLock(); if (comp == null) { @@ -4189,6 +4191,7 @@ } } + @SuppressWarnings("deprecation") private void recursiveShowHeavyweightChildren() { if (!hasHeavyweightDescendants() || !isVisible()) { return; @@ -4210,6 +4213,7 @@ } } + @SuppressWarnings("deprecation") private void recursiveHideHeavyweightChildren() { if (!hasHeavyweightDescendants()) { return; @@ -4231,6 +4235,7 @@ } } + @SuppressWarnings("deprecation") private void recursiveRelocateHeavyweightChildren(Point origin) { for (int index = 0; index < getComponentCount(); index++) { Component comp = getComponent(index);