aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/com/sun/tools/javac
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-02-14 00:36:00 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-02-14 00:36:16 +0100
commit05f93771e9aeb6ad0c884f22df4b9fa8c1f6cc2f (patch)
treecca9a63d7a5f63d3e6f75251b548c9150eff9641 /src/stubs/com/sun/tools/javac
parent1d32894ca316dd83c873d1e46746ee6ca37f8059 (diff)
downloadlombok-05f93771e9aeb6ad0c884f22df4b9fa8c1f6cc2f.tar.gz
lombok-05f93771e9aeb6ad0c884f22df4b9fa8c1f6cc2f.tar.bz2
lombok-05f93771e9aeb6ad0c884f22df4b9fa8c1f6cc2f.zip
[jdk9] Create FileObjects for jdk9
Diffstat (limited to 'src/stubs/com/sun/tools/javac')
-rw-r--r--src/stubs/com/sun/tools/javac/file/BaseFileManager.java8
-rw-r--r--src/stubs/com/sun/tools/javac/file/PathFileObject.java12
2 files changed, 20 insertions, 0 deletions
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) {}
+}