< prev index next >
test/java/awt/Window/WindowsLeak/WindowsLeak.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2013, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 23,32 ****
--- 23,33 ----
/*
* @test
* @bug 8013563
* @summary Tests that windows are removed from windows list
+ * @modules java.desktop/sun.awt
* @run main/othervm -Xms32M -Xmx32M WindowsLeak
*/
import java.awt.*;
import sun.awt.AppContext;
< prev index next >