From b833522b2cd656e40526af593bab27561e02623b Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Thu, 26 Oct 2017 02:17:46 +0200 Subject: add some dockerfiles for testing against jdk9 --- docker/shared/src/main/java/HelloWorld.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docker/shared/src/main/java/HelloWorld.java (limited to 'docker/shared/src/main/java') diff --git a/docker/shared/src/main/java/HelloWorld.java b/docker/shared/src/main/java/HelloWorld.java new file mode 100644 index 00000000..f4c30218 --- /dev/null +++ b/docker/shared/src/main/java/HelloWorld.java @@ -0,0 +1,13 @@ +@lombok.Data +public class HelloWorld { + private final int answer; + + public static void main(String... args) { + System.out.println(new HelloWorld(42).getAnswer()); + } + + @FunctionalInterface + interface Foo { + String name(); + } +} -- cgit