6384N/A * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 6384N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6384N/A * This code is free software; you can redistribute it and/or modify it 6384N/A * under the terms of the GNU General Public License version 2 only, as 6384N/A * published by the Free Software Foundation. 6384N/A * This code is distributed in the hope that it will be useful, but WITHOUT 6384N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 6384N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 6384N/A * version 2 for more details (a copy is included in the LICENSE file that 6384N/A * You should have received a copy of the GNU General Public License version 6384N/A * 2 along with this work; if not, write to the Free Software Foundation, 6384N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 6384N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 6384N/A * or visit www.oracle.com if you need additional information or have any 6384N/A * @summary Tests (although somewhat indirectly) that createNewAppContext() 6384N/A * immediately followed by dispose() works correctly 6384N/A // In case of the bug, calling dispose() when there is no EQ 6384N/A // dispatch thread running fails to create it, so it takes 6384N/A // almost 10 sec to return from dispose(), which is spent 6384N/A // waiting on the notificationLock.