File tree 5 files changed +10
-12
lines changed
5 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
31
31
* @run compile -g RefTypes.java
32
32
* @run build AllLineLocations
33
33
*
34
- * @run driver AllLineLocations RefTypes
34
+ * @run driver AllLineLocations
35
35
*/
36
36
import com .sun .jdi .*;
37
37
import com .sun .jdi .event .*;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
32
32
* @run compile -g HelloWorld.java
33
33
* @run build ClassesByName
34
34
*
35
- * @run driver ClassesByName HelloWorld
35
+ * @run driver ClassesByName
36
36
*/
37
37
import com .sun .jdi .*;
38
38
import com .sun .jdi .event .*;
@@ -52,7 +52,7 @@ public static void main(String args[]) throws Exception {
52
52
}
53
53
54
54
protected void runTests () throws Exception {
55
- startUp ("ClassesByName " );
55
+ startUp ("HelloWorld " );
56
56
57
57
List all = vm ().allClasses ();
58
58
for (Iterator it = all .iterator (); it .hasNext (); ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2018, 2019 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2018, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -216,8 +216,6 @@ public class TestNestmateAttr extends TestScaffold {
216
216
protected void startUp (String targetName ) {
217
217
List <String > argList = new ArrayList <>(Arrays .asList (args ));
218
218
argList .add (0 , targetName ); // pre-pend so it becomes the first "app" arg
219
- // We need the class path that contains the path to jdk.test.lib.Asserts.
220
- argList .add (0 , " -cp " + System .getProperty ("test.class.path" ));
221
219
println ("run args: " + argList );
222
220
connect ((String []) argList .toArray (args ));
223
221
waitForVMStart ();
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2001, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2001, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
32
32
* @run compile -g InnerTarg.java
33
33
* @run build UnpreparedByName
34
34
*
35
- * @run driver UnpreparedByName InnerTarg
35
+ * @run driver UnpreparedByName
36
36
*/
37
37
import com .sun .jdi .*;
38
38
import com .sun .jdi .event .*;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2001, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2001, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
32
32
* @run compile -g InnerTarg.java
33
33
* @run build UnpreparedClasses
34
34
*
35
- * @run driver UnpreparedClasses InnerTarg
35
+ * @run driver UnpreparedClasses
36
36
*/
37
37
import com .sun .jdi .*;
38
38
import com .sun .jdi .event .*;
You can’t perform that action at this time.
0 commit comments