aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-12-04 23:58:43 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-12-05 00:00:08 +0100
commit7176ebc6c6a2fcaaa574f2d79aac4903c99055f3 (patch)
tree77e25e223f78fa735d7954a1f5093972f155d77c /src
parentab8e14736f8c3a7cb96ae7351d4bb1818131f2b2 (diff)
downloadlombok-7176ebc6c6a2fcaaa574f2d79aac4903c99055f3.tar.gz
lombok-7176ebc6c6a2fcaaa574f2d79aac4903c99055f3.tar.bz2
lombok-7176ebc6c6a2fcaaa574f2d79aac4903c99055f3.zip
errors generated during compilation by lombok weren’t being conveyed in Javac9.
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/javac/JavacAST.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/JavacAST.java b/src/core/lombok/javac/JavacAST.java
index bda649fa..af812498 100644
--- a/src/core/lombok/javac/JavacAST.java
+++ b/src/core/lombok/javac/JavacAST.java
@@ -561,7 +561,7 @@ public class JavacAST extends AST<JavacAST, JavacNode, JCTree> {
@Override void error1(DiagnosticPosition pos, String message) {
try {
- logMethod.invoke(multiple, pos, "proc.messager", message);
+ logMethod.invoke(log, multiple, pos, "proc.messager", new Object[] { message });
} catch (Throwable t) {}
}
}