From e0c5f3001276b94fd14e7e81e38f72070bda0c4d Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 2 Apr 2014 00:58:57 +0200 Subject: [#655] Added a test for the post compiler. It indeed fails in JDK8 now due to an ASM version that doesn't understand java 8 class files. --- src/core/lombok/core/PostCompiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/lombok/core/PostCompiler.java b/src/core/lombok/core/PostCompiler.java index 4a099862..11091cb8 100644 --- a/src/core/lombok/core/PostCompiler.java +++ b/src/core/lombok/core/PostCompiler.java @@ -43,7 +43,7 @@ public final class PostCompiler { previous = next; } } catch (Exception e) { - diagnostics.addWarning(String.format("Error during the transformation of '%s'; post-compiler '%s' caused an exception: %s", fileName, transformation.getClass().getName(), e.getMessage())); + diagnostics.addWarning(String.format("Error during the transformation of '%s'; post-compiler '%s' caused an exception: %s", fileName, transformation.getClass().getName(), e)); } } return previous; -- cgit