diff -r a5d56b872e3a -r 1066345d2a8a jdk/test/java/awt/Window/WindowsLeak/WindowsLeak.java --- a/jdk/test/java/awt/Window/WindowsLeak/WindowsLeak.java Tue Jun 23 09:54:19 2015 +0300 +++ b/jdk/test/java/awt/Window/WindowsLeak/WindowsLeak.java Tue Jun 23 11:59:27 2015 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 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 @@ -25,6 +25,7 @@ * @test * @bug 8013563 * @summary Tests that windows are removed from windows list + * @modules java.desktop/sun.awt * @run main/othervm -Xms32M -Xmx32M WindowsLeak */