This enhancement is separated from the original enhancement JDK-8179318.
Total number of tests: 63
All tests reside under test/java/lang/instrument and have "@run shell ..." in them. Here is the updated full list.
Note: the ".java" tests below run the shell via "@run shell", therefore they are included in this list.
AddTransformerTest.java
AppendToBootstrapClassPathTest.java
AppendToClassPathTest.java
BootClassPath/BootClassPathTest.sh
BootstrapClassPathTest.java
CustomSystemLoader/Agent.java
DaemonThread/TestDaemonThread.java
FromShutdownHook.java
GetAllLoadedClassesTest.java
GetInitiatedClassesTest.java
GetObjectSizeTest.java
IsModifiableClassAgent.java
ManifestTest.sh
ManyMethodsBenchmarkAgent.java
NativeMethodPrefixAgent.java
NoTransformerAddedTest.java
NullGetObjectSizeTest.java
NullRedefineClassesTests.java
NullTransformerAddTest.java
NullTransformerRemoveTest.java
ParallelTransformerLoader.sh
PremainClass/InheritAgent0010.java
PremainClass/InheritAgent1011.java
PremainClass/NoPremainAgentTest.java
PremainClass/InheritAgent1010.java
PremainClass/InheritAgent0011.java
PremainClass/ZeroArgPremainAgentTest.java
PremainClass/InheritAgent1001.java
PremainClass/InheritAgent1000.java
PremainClass/InheritAgent0001.java
PremainClass/InheritAgent1111.java
PremainClass/InheritAgent0110.java
PremainClass/InheritAgent0111.java
PremainClass/InheritAgent1110.java
PremainClass/InheritAgent1101.java
PremainClass/InheritAgent0100.java
PremainClass/InheritAgent0101.java
PremainClass/InheritAgent1100.java
RedefineBigClass.sh
RedefineClassWithNativeMethod.sh
RedefineClassesDisabledTest.java
RedefineClassesTests.java
RedefineMethodAddInvoke.sh
RedefineMethodDelInvoke.sh
RedefineMethodInBacktrace.sh
RedefineMethodWithAnnotations.sh
RedefineModuleTest.java
RedefineSubclassWithTwoInterfaces.sh
RemoveAbsentTransformerTest.java
RemoveTransformerTest.java
RetransformAgent.java
RetransformBigClass.sh
SingleTransformerTest.java
StressGetObjectSizeTest.sh
TestAgentWithLimitMods.java
TransformMethodTest.java
TransformerManagementThreadAddTests.java
TransformerManagementThreadRemoveTests.java
VerifyLocalVariableTableOnRetransformTest.sh
appendToClassLoaderSearch/CircularityErrorTest.sh
appendToClassLoaderSearch/ClassUnloadTest.sh
appendToClassLoaderSearch/run_tests.sh
modules/AppendToClassPathModuleTest.java