Skip to content

Commit 5045b54

Browse files
committed
8214400: Update hotspot application/jcstress jtreg tests wrappers to use jcstress 0.5
Backport-of: bbfe9d2
1 parent 6e296a0 commit 5045b54

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

test/hotspot/jtreg/applications/jcstress/JcstressRunner.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,7 @@
4242
* jcstress tests wrapper
4343
*/
4444
@Artifact(organization = "org.openjdk.jcstress", name = "jcstress-tests-all",
45-
revision = "0.3", extension = "jar", unpack = false)
45+
revision = "0.5", extension = "jar", unpack = false)
4646
public class JcstressRunner {
4747

4848
public static final String MAIN_CLASS = "org.openjdk.jcstress.Main";
@@ -55,7 +55,7 @@ public static Path pathToArtifact() {
5555
throw new Error("TESTBUG: Can not resolve artifacts for "
5656
+ JcstressRunner.class.getName(), e);
5757
}
58-
return artifacts.get("org.openjdk.jcstress.jcstress-tests-all-0.3")
58+
return artifacts.get("org.openjdk.jcstress.jcstress-tests-all-0.5")
5959
.toAbsolutePath();
6060
}
6161

@@ -115,4 +115,3 @@ private static String[] getCmd(String[] args) {
115115
return result;
116116
}
117117
}
118-
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
3+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4+
*
5+
* This code is free software; you can redistribute it and/or modify it
6+
* under the terms of the GNU General Public License version 2 only, as
7+
* published by the Free Software Foundation.
8+
*
9+
* This code is distributed in the hope that it will be useful, but WITHOUT
10+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11+
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12+
* version 2 for more details (a copy is included in the LICENSE file that
13+
* accompanied this code).
14+
*
15+
* You should have received a copy of the GNU General Public License version
16+
* 2 along with this work; if not, write to the Free Software Foundation,
17+
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*
19+
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20+
* or visit www.oracle.com if you need additional information or have any
21+
* questions.
22+
*/
23+
24+
/* DO NOT MODIFY THIS FILE. GENERATED BY applications.jcstress.TestGenerator */
25+
26+
/**
27+
* @test threadlocal
28+
* @library /test/lib /
29+
* @run driver/timeout=21600 applications.jcstress.JcstressRunner -v -t org.openjdk.jcstress.tests.threadlocal\.
30+
*/
31+

0 commit comments

Comments
 (0)