< prev index next >

test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2018, 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) 2018, 2020, 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,39 **** import java.lang.management.*; /* * @test * @bug 8205878 8206954 ! * @requires os.family != "windows" & os.family != "solaris" * @summary Basic test of Thread and ThreadMXBean queries on a natively * attached thread that has failed to detach before terminating. ! * @comment The native code only supports POSIX so no windows testing; also ! * we have to skip solaris as a terminating thread that fails to ! * detach will hit an infinite loop due to TLS destructor issues - see ! * comments in JDK-8156708 * @run main/othervm/native TestTerminatedThread */ public class TestTerminatedThread { --- 23,36 ---- import java.lang.management.*; /* * @test * @bug 8205878 8206954 ! * @requires os.family != "windows" * @summary Basic test of Thread and ThreadMXBean queries on a natively * attached thread that has failed to detach before terminating. ! * @comment The native code only supports POSIX so no windows testing * @run main/othervm/native TestTerminatedThread */ public class TestTerminatedThread {
< prev index next >