diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-10-10 23:14:47 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-10-10 23:25:15 +0200 |
commit | ab3ee68c386f6c65a4f6b3f49389aaeeee452a2d (patch) | |
tree | 4fdf095a9933693078e96424d81127f2f44d8a47 /src | |
parent | a9b4fb0c685fbc52079d57532c04277e78c95ec2 (diff) | |
download | lombok-ab3ee68c386f6c65a4f6b3f49389aaeeee452a2d.tar.gz lombok-ab3ee68c386f6c65a4f6b3f49389aaeeee452a2d.tar.bz2 lombok-ab3ee68c386f6c65a4f6b3f49389aaeeee452a2d.zip |
No functional change, but runPostCompiler in eclipse patching is no longer transplanted. It shouldn't matter (runPostCompiler will call lombok.jar code, so if there is a classloader issue, transplanting won't help), and roel thinks it might help debug an issue with Springsource gradle plugin for eclipse.
Diffstat (limited to 'src')
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java | 1 | ||||
-rw-r--r-- | src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java index 8c6011bc..ccee5575 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java @@ -275,7 +275,6 @@ public class EclipsePatcher extends Agent { .methodToWrap(new Hook("org.eclipse.jdt.internal.compiler.ClassFile", "getBytes", "byte[]")) .wrapMethod(new Hook("lombok.eclipse.agent.PatchFixes", "runPostCompiler", "byte[]", "byte[]", "java.lang.String")) .requestExtra(StackRequest.PARAM3) - .transplant() .build()); } diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java index 0002e26e..d4b8c763 100644 --- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java +++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java @@ -329,7 +329,7 @@ public class PatchFixes { return newSimpleNames; } - public static byte[] runPostCompiler(byte[] bytes, String fileName) { + public static byte[] runPostCompiler(byte[] bytes, String fileName) { byte[] transformed = PostCompiler.applyTransformations(bytes, fileName, DiagnosticsReceiver.CONSOLE); return transformed == null ? bytes : transformed; } |