aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-04-04 23:48:24 +0200
committerGitHub <noreply@github.com>2018-04-04 23:48:24 +0200
commitc2f0736c5e6aa8153bd84062ee03f155babc2288 (patch)
tree2f41ea9e02f061ce223d563889c87438156de2f6
parentb7a732a50f7d78b5a450bf80372999f716c15497 (diff)
parent0b549468272fdf48b8ca17e5d88a4e13d5b7d3ef (diff)
downloadlombok-c2f0736c5e6aa8153bd84062ee03f155babc2288.tar.gz
lombok-c2f0736c5e6aa8153bd84062ee03f155babc2288.tar.bz2
lombok-c2f0736c5e6aa8153bd84062ee03f155babc2288.zip
Merge pull request #1626 from victorwss/master
Fix for #1617.
-rw-r--r--AUTHORS1
-rw-r--r--src/core/lombok/javac/apt/EmptyLombokFileObject.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 15394c60..319ca197 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -23,6 +23,7 @@ Szymon Pacanowski <spacanowski@gmail.com>
Takuya Murakami <tmurakam@tmurakam.org>
Taiki Sugawara <buzz.taiki@gmail.com>
Thomas Darimont <thomas.darimont@gmail.com>
+Victor Williams Stafusa da Silva <victorwssilva@gmail.com>
Yun Zhi Lin <yun@yunspace.com>
Christian Nüssgens <christian@nuessgens.com>
Mateusz Matela <mateusz.matela@gmail.com>
diff --git a/src/core/lombok/javac/apt/EmptyLombokFileObject.java b/src/core/lombok/javac/apt/EmptyLombokFileObject.java
index 5a3a7def..0f9a697d 100644
--- a/src/core/lombok/javac/apt/EmptyLombokFileObject.java
+++ b/src/core/lombok/javac/apt/EmptyLombokFileObject.java
@@ -57,7 +57,7 @@ class EmptyLombokFileObject implements LombokFileObject {
}
@Override public URI toUri() {
- return URI.create(name);
+ return URI.create("file://" + name);
}
@Override public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {