Exclusions to make build work with Java 9

This commit is contained in:
Bruce Eckel 2020-10-07 14:58:30 -06:00
parent f07d93d8e5
commit 8bfc28c687
3 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,8 @@
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {javap -c LikeClasses}
// {ExcludeFromGradle}
// javap -c LikeClasses
enum LikeClasses {
WINKEN {

View File

@ -2,7 +2,8 @@
// (c)2020 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// {javap -c NotAtomic}
// javap -c NotAtomic
// {ExcludeFromGradle}
// {VisuallyInspectOutput}
public class NotAtomic {

View File

@ -3,7 +3,8 @@
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Demonstrates standard I/O redirection
// {javap -cp build/classes/java/main OSExecuteDemo}
// javap -cp build/classes/java/main OSExecuteDemo
// {ExcludeFromGradle}
import onjava.*;
public class OSExecuteDemo {}