8309510: com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java no longer needs to override startUp() method

Reviewed-by: sspitsyn, amenkov
This commit is contained in:
Chris Plummer 2023-06-07 17:57:23 +00:00
parent c24b0bada2
commit c38abbfcaa

View File

@ -211,16 +211,6 @@ public class TestNestmateAttr extends TestScaffold {
static String origin;
// override this to correct a bug so arguments can be passed to
// the Target class
protected void startUp(String targetName) {
List<String> argList = new ArrayList<>(Arrays.asList(args));
argList.add(0, targetName); // pre-pend so it becomes the first "app" arg
println("run args: " + argList);
connect((String[]) argList.toArray(args));
waitForVMStart();
}
TestNestmateAttr (String[] args) {
super(args);
}