2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 520N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 520N/A * This code is free software; you can redistribute it and/or modify it 520N/A * under the terms of the GNU General Public License version 2 only, as 520N/A * published by the Free Software Foundation. 520N/A * This code is distributed in the hope that it will be useful, but WITHOUT 520N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 520N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 520N/A * version 2 for more details (a copy is included in the LICENSE file that 520N/A * accompanied this code). 520N/A * You should have received a copy of the GNU General Public License version 520N/A * 2 along with this work; if not, write to the Free Software Foundation, 520N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 520N/A * @summary (thread) Thread constructors throw undocumented NPE for null name 520N/A * Verify that threads constructed with a null thread name do not get added 520N/A * to the list of unstarted thread for a thread group. We can do this by 520N/A * checking that a daemon threadGroup is desroyed after its final valid thread 520N/A /* Hold off a little to allow the thread to complete */ 5747N/A /* do not wait forever - allow 120 seconds same as jtreg default timeout. */