From 05f93771e9aeb6ad0c884f22df4b9fa8c1f6cc2f Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 14 Feb 2017 00:36:00 +0100 Subject: [jdk9] Create FileObjects for jdk9 --- src/stubs/com/sun/tools/javac/file/BaseFileManager.java | 8 ++++++++ src/stubs/com/sun/tools/javac/file/PathFileObject.java | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/stubs/com/sun/tools/javac/file/BaseFileManager.java create mode 100644 src/stubs/com/sun/tools/javac/file/PathFileObject.java (limited to 'src/stubs/com/sun/tools/javac') diff --git a/src/stubs/com/sun/tools/javac/file/BaseFileManager.java b/src/stubs/com/sun/tools/javac/file/BaseFileManager.java new file mode 100644 index 00000000..7a2293d5 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/file/BaseFileManager.java @@ -0,0 +1,8 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ +package com.sun.tools.javac.file; + +import javax.tools.JavaFileManager; + +public abstract class BaseFileManager implements JavaFileManager{} diff --git a/src/stubs/com/sun/tools/javac/file/PathFileObject.java b/src/stubs/com/sun/tools/javac/file/PathFileObject.java new file mode 100644 index 00000000..c1ee6074 --- /dev/null +++ b/src/stubs/com/sun/tools/javac/file/PathFileObject.java @@ -0,0 +1,12 @@ +/* + * These are stub versions of various bits of javac-internal API (for various different versions of javac). Lombok is compiled against these. + */ +package com.sun.tools.javac.file; + +import java.nio.file.Path; + +import javax.tools.JavaFileObject; + +public abstract class PathFileObject implements JavaFileObject { + protected PathFileObject(BaseFileManager fileManager, Path path) {} +} -- cgit