--- old/src/solaris/classes/sun/awt/X11/XWindowPeer.java 2014-04-18 11:26:40.336157919 -0700 +++ new/src/solaris/classes/sun/awt/X11/XWindowPeer.java 2014-04-18 11:26:40.176157927 -0700 @@ -950,7 +950,7 @@ // make new hash of toplevels of all windows from 'windows' hash. // FIXME: do not call them "toplevel" as it is misleading. // - HashSet toplevels = new HashSet(); + HashSet toplevels = new HashSet<>(); long topl = 0, mytopl = 0; for (XWindowPeer xp : windows) {