Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8249034: clean up FileInstaller $test.src $cwd in vmTestbase_nsk_jvmt…
…i tests
Reviewed-by: sspitsyn
- Loading branch information
Showing
653 changed files
with
637 additions
and
1,287 deletions.
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -53,7 +53,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native -agentlib:addcaps001=-waittime=5 nsk.jvmti.AddCapabilities.addcaps001 |
|
|
*/ |
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -53,7 +53,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native -agentlib:addcaps002=-waittime=5 nsk.jvmti.AddCapabilities.addcaps002 |
|
|
*/ |
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -47,7 +47,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build ExecDriver |
|
|
* nsk.jvmti.AddCapabilities.addcaps003 |
|
|
* @run main/othervm/native PropertyResolvingWrapper ExecDriver --java |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -56,7 +56,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile newclassXX to bin/newclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -78,7 +78,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch002p |
|
|
* |
|
|
* @comment compile loadclassXX to bin/loadclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -63,7 +63,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile loadclassXX to bin/loadclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -63,7 +63,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile newclassXX to bin/newclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -66,7 +66,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile ../bootclssearch003/loadclassXX to bin/loadclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -69,7 +69,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile ../bootclssearch004/newclassXX to bin/newclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -58,7 +58,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.Consts |
|
|
* |
|
|
* @comment compile ../bootclssearch001/newclassXX to bin/newclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -82,7 +82,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.AddToBootstrapClassLoaderSearch.bootclssearch002p |
|
|
* |
|
|
* @comment compile ../bootclssearch002/loadclassXX to bin/loadclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -55,7 +55,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.jvmti.JVMTITest |
|
|
* nsk.share.Consts |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -55,7 +55,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.AddToSystemClassLoaderSearch.systemclssearch002p |
|
|
* nsk.share.jvmti.JVMTITest |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -62,7 +62,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.jvmti.JVMTITest |
|
|
* nsk.share.Consts |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -68,7 +68,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.jvmti.JVMTITest |
|
|
* nsk.share.Consts |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -58,7 +58,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.jvmti.JVMTITest |
|
|
* nsk.share.Consts |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -58,7 +58,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.AddToSystemClassLoaderSearch.systemclssearch002p |
|
|
* nsk.share.jvmti.JVMTITest |
|
|
* |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -45,7 +45,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native |
|
|
* -agentlib:agentonload001=-waittime=5 |
|
|
* nsk.jvmti.Agent_OnLoad.agentonload001 |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -42,7 +42,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native -agentlib:agentonload002= nsk.jvmti.Agent_OnLoad.agentonload002 |
|
|
*/ |
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -42,7 +42,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native TestDriver |
|
|
*/ |
|
|
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -45,7 +45,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @run main/othervm/native TestDriver |
|
|
*/ |
|
|
|
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -42,7 +42,6 @@ |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @requires os.family != "aix" |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.Allocate.alloc001 |
|
|
* @run shell alloc001.sh |
|
|
*/ |
|
|
|
@@ -23,4 +23,6 @@ |
|
|
# as sh's ulimit works weirdly on solaris and jtreg doesn't gurantee what |
|
|
# shell is used, have to use this file to be sure alloc001.bash is run by bash |
|
|
|
|
|
bash ./alloc001.bash |
|
|
: ${TESTSRC:=.} |
|
|
|
|
|
bash ${TESTSRC}/alloc001.bash |
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* Copyright (c) 2008, 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 |
|
@@ -38,7 +38,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.jvmti.AttachOnDemand.attach001.attach001TestRunner |
|
|
* |
|
|
* @comment create SimpleAgent00.jar in current directory |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -43,7 +43,6 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.aod.AODTestRunner |
|
|
* |
|
|
* @comment compile newclassXX to bin/newclassXX |
|
|
|
|
@@ -1,5 +1,5 @@ |
|
|
/* |
|
|
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
|
|
* 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 |
|
@@ -49,16 +49,15 @@ |
|
|
* |
|
|
* @library /vmTestbase |
|
|
* /test/lib |
|
|
* @run driver jdk.test.lib.FileInstaller . . |
|
|
* @build nsk.share.aod.AODTestRunner |
|
|
* |
|
|
* @comment compile newclassXX to bin/newclassXX |
|
|
* @build ExecDriver |
|
|
* @run driver PropertyResolvingWrapper ExecDriver --cmd |
|
|
* ${compile.jdk}/bin/javac |
|
|
* --patch-module java.base=newclass00/java.base |
|
|
* --patch-module java.base=${test.src}/newclass00/java.base |
|
|
* -d bin/newclass00 |
|
|
* newclass00/java.base/java/lang/InterruptedException.java |
|
|
* ${test.src}/newclass00/java.base/java/lang/InterruptedException.java |
|
|
* |
|
|
* @build nsk.jvmti.AttachOnDemand.attach002a.attach002aTarget |
|
|
* @run main/othervm/native PropertyResolvingWrapper |
|
|
Oops, something went wrong.