File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Tags {
1414 String javaCmd = null
1515 List<String > args = []
1616 List<String > jVMArgs = []
17- String exec = null
17+ String javap = null
1818 String runFirst = null
1919 String outputLine = null
2020 private List<String > lines
@@ -41,7 +41,7 @@ class Tags {
4141 errorOutputExpected = hasTag(' ErrorOutputExpected' )
4242 validateByHand = hasTag(' ValidateByHand' )
4343 ignoreOutput = hasTag(' IgnoreOutput' )
44- exec = extract(' Exec: ' )
44+ javap = extract(' javap ' ) # Includes only arguments to command
4545 runFirst = extract(' RunFirst:' )
4646 lines. each {
4747 if (it =~ / \\ / * Output :/ ) {
@@ -77,7 +77,7 @@ class Tags {
7777 javaCmd ||
7878 args ||
7979 jVMArgs ||
80- exec ||
80+ javap ||
8181 runFirst
8282 }
8383 public String toString () {
@@ -99,7 +99,7 @@ class Tags {
9999 javaCmd
100100 args
101101 jVMArgs
102- exec
102+ javap
103103 runFirst
104104 """ . split(). each { str ->
105105 if (this [str])
Original file line number Diff line number Diff line change 22// (c)2016 MindView LLC: see Copyright.txt
33// We make no guarantees that this code is fit for any purpose.
44// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
5- // {Exec: javap -c LikeClasses}
5+ // {javap -c LikeClasses}
66
77enum LikeClasses {
88 WINKEN {
Original file line number Diff line number Diff line change 33// We make no guarantees that this code is fit for any purpose.
44// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
55// Demonstrates standard I/O redirection
6- // {Exec: javap -cp build/classes/main OSExecuteDemo}
6+ // {javap -cp build/classes/main OSExecuteDemo}
77import onjava .*;
88
99public class OSExecuteDemo {}
Original file line number Diff line number Diff line change 22// (c)2016 MindView LLC: see Copyright.txt
33// We make no guarantees that this code is fit for any purpose.
44// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
5- // {Exec: javap -c Atomicity}
5+ // {javap -c Atomicity}
66
77public class Atomicity {
88 int i ;
You can’t perform that action at this time.
0 commit comments