aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-06-13 13:28:14 +0200
committerRoel Spilker <r.spilker@gmail.com>2017-06-13 13:28:14 +0200
commitbd7528b4dae0e7c1529f1671f22604d64167463c (patch)
tree9ef6274e169985bf450a30e6efab553b55d2f02a
parent33dc6a2802cbd5ca80e2ab35ecafd16e8be98851 (diff)
downloadlombok-bd7528b4dae0e7c1529f1671f22604d64167463c.tar.gz
lombok-bd7528b4dae0e7c1529f1671f22604d64167463c.tar.bz2
lombok-bd7528b4dae0e7c1529f1671f22604d64167463c.zip
jdk9: possible fix for errorprone
-rw-r--r--src/core/lombok/javac/apt/LombokFileObjects.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/apt/LombokFileObjects.java b/src/core/lombok/javac/apt/LombokFileObjects.java
index 242be477..cc5bf7aa 100644
--- a/src/core/lombok/javac/apt/LombokFileObjects.java
+++ b/src/core/lombok/javac/apt/LombokFileObjects.java
@@ -147,7 +147,7 @@ final class LombokFileObjects {
@Override public JavaFileObject wrap(LombokFileObject fileObject) {
URI uri = fileObject.toUri();
if (uri.getScheme() == null) {
- uri = URI.create("file://" + uri);
+ uri = URI.create("file:///" + uri);
}
Path path;
try {