jdk/test/java/awt/Window/WindowsLeak/WindowsLeak.java
changeset 31448 1066345d2a8a
parent 20450 008da09ac2b2
child 39007 576736088436
equal deleted inserted replaced
31447:a5d56b872e3a 31448:1066345d2a8a
     1 /*
     1 /*
     2  * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8013563
    26  * @bug 8013563
    27  * @summary Tests that windows are removed from windows list
    27  * @summary Tests that windows are removed from windows list
       
    28  * @modules java.desktop/sun.awt
    28  * @run main/othervm -Xms32M -Xmx32M WindowsLeak
    29  * @run main/othervm -Xms32M -Xmx32M WindowsLeak
    29 */
    30 */
    30 
    31 
    31 import java.awt.*;
    32 import java.awt.*;
    32 import sun.awt.AppContext;
    33 import sun.awt.AppContext;