File tree Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Expand file tree Collapse file tree 12 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 4
4
// Visit http://OnJava8.com for more book information.
5
5
// Creating non-embedded tests
6
6
// {java onjava.atunit.AtUnit
7
- // build/classes/main/annotations/AUComposition.class}
7
+ // build/classes/java/ main/annotations/AUComposition.class}
8
8
package annotations ;
9
9
import onjava .atunit .*;
10
10
import onjava .*;
Original file line number Diff line number Diff line change 4
4
// Visit http://OnJava8.com for more book information.
5
5
// Creating non-embedded tests
6
6
// {java onjava.atunit.AtUnit
7
- // build/classes/main/annotations/AUExternalTest.class}
7
+ // build/classes/java/ main/annotations/AUExternalTest.class}
8
8
package annotations ;
9
9
import onjava .atunit .*;
10
10
import onjava .*;
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// {java onjava.atunit.AtUnit
6
- // build/classes/main/annotations/AtUnitExample1.class}
6
+ // build/classes/java/ main/annotations/AtUnitExample1.class}
7
7
package annotations ;
8
8
import onjava .atunit .*;
9
9
import onjava .*;
Original file line number Diff line number Diff line change 4
4
// Visit http://OnJava8.com for more book information.
5
5
// Assertions and exceptions can be used in @Tests
6
6
// {java onjava.atunit.AtUnit
7
- // build/classes/main/annotations/AtUnitExample2.class}
7
+ // build/classes/java/ main/annotations/AtUnitExample2.class}
8
8
package annotations ;
9
9
import java .io .*;
10
10
import onjava .atunit .*;
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// {java onjava.atunit.AtUnit
6
- // build/classes/main/annotations/AtUnitExample3.class}
6
+ // build/classes/java/ main/annotations/AtUnitExample3.class}
7
7
package annotations ;
8
8
import onjava .atunit .*;
9
9
import onjava .*;
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// {java onjava.atunit.AtUnit
6
- // build/classes/main/annotations/AtUnitExample4.class}
6
+ // build/classes/java/ main/annotations/AtUnitExample4.class}
7
7
// {VisuallyInspectOutput}
8
8
package annotations ;
9
9
import java .util .*;
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// {java onjava.atunit.AtUnit
6
- // build/classes/main/annotations/AtUnitExample5.class}
6
+ // build/classes/java/ main/annotations/AtUnitExample5.class}
7
7
package annotations ;
8
8
import java .io .*;
9
9
import onjava .atunit .*;
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// {java onjava.atunit.AtUnit
6
- // build/classes/main/annotations/HashSetTest.class}
6
+ // build/classes/java/ main/annotations/HashSetTest.class}
7
7
package annotations ;
8
8
import java .util .*;
9
9
import onjava .atunit .*;
Original file line number Diff line number Diff line change 4
4
// Visit http://OnJava8.com for more book information.
5
5
// Applying @Unit to generics
6
6
// {java onjava.atunit.AtUnit
7
- // build/classes/main/annotations/StackLStringTst.class}
7
+ // build/classes/java/ main/annotations/StackLStringTst.class}
8
8
package annotations ;
9
9
import onjava .atunit .*;
10
10
import onjava .*;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public static void main(String[] args) {
38
38
System .out .println (exploreMethods );
39
39
// Decompile the code for the enum:
40
40
OSExecute .command (
41
- "javap -cp build/classes/main Explore" );
41
+ "javap -cp build/classes/java/ main Explore" );
42
42
}
43
43
}
44
44
/* Output:
Original file line number Diff line number Diff line change 3
3
// We make no guarantees that this code is fit for any purpose.
4
4
// Visit http://OnJava8.com for more book information.
5
5
// Demonstrates standard I/O redirection
6
- // {javap -cp build/classes/main OSExecuteDemo}
6
+ // {javap -cp build/classes/java/ main OSExecuteDemo}
7
7
import onjava .*;
8
8
9
9
public class OSExecuteDemo {}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public static String format(byte[] data) {
27
27
// Test by displaying this class file:
28
28
System .out .println (format (
29
29
Files .readAllBytes (Paths .get (
30
- "build/classes/main/onjava/Hex.class" ))));
30
+ "build/classes/java/ main/onjava/Hex.class" ))));
31
31
else
32
32
System .out .println (format (
33
33
Files .readAllBytes (Paths .get (args [0 ]))));
You can’t perform that action at this time.
0 commit comments