8214400: Update hotspot application/jcstress jtreg tests wrappers to use jcstress 0.5

Reviewed-by: dholmes, mseledtsov
This commit is contained in:
Leonid Mesnik 2018-11-29 11:14:36 -08:00
parent 83cfba872c
commit bbfe9d2168
2 changed files with 34 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,7 +42,7 @@ import java.util.List;
* jcstress tests wrapper * jcstress tests wrapper
*/ */
@Artifact(organization = "org.openjdk.jcstress", name = "jcstress-tests-all", @Artifact(organization = "org.openjdk.jcstress", name = "jcstress-tests-all",
revision = "0.3", extension = "jar", unpack = false) revision = "0.5", extension = "jar", unpack = false)
public class JcstressRunner { public class JcstressRunner {
public static final String MAIN_CLASS = "org.openjdk.jcstress.Main"; public static final String MAIN_CLASS = "org.openjdk.jcstress.Main";
@ -55,7 +55,7 @@ public class JcstressRunner {
throw new Error("TESTBUG: Can not resolve artifacts for " throw new Error("TESTBUG: Can not resolve artifacts for "
+ JcstressRunner.class.getName(), e); + JcstressRunner.class.getName(), e);
} }
return artifacts.get("org.openjdk.jcstress.jcstress-tests-all-0.3") return artifacts.get("org.openjdk.jcstress.jcstress-tests-all-0.5")
.toAbsolutePath(); .toAbsolutePath();
} }
@ -115,4 +115,3 @@ public class JcstressRunner {
return result; return result;
} }
} }

View File

@ -0,0 +1,31 @@
/*
* Copyright (c) 2017, 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.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* DO NOT MODIFY THIS FILE. GENERATED BY applications.jcstress.TestGenerator */
/**
* @test threadlocal
* @library /test/lib /
* @run driver/timeout=21600 applications.jcstress.JcstressRunner -v -t org.openjdk.jcstress.tests.threadlocal\.
*/