aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-10-10 23:14:47 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-10-10 23:25:15 +0200
commitab3ee68c386f6c65a4f6b3f49389aaeeee452a2d (patch)
tree4fdf095a9933693078e96424d81127f2f44d8a47 /src/eclipseAgent/lombok/eclipse/agent
parenta9b4fb0c685fbc52079d57532c04277e78c95ec2 (diff)
downloadlombok-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/eclipseAgent/lombok/eclipse/agent')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java1
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java2
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;
}