diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-15 22:32:19 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-15 22:32:19 +0200 |
commit | d2ffd52636113c5737e32779938511ae68a1a0fe (patch) | |
tree | b55379c361078a81bafef60774f6cdfb5654f016 | |
parent | c4cd04b7d2ebf39821466bcd5d2285fdd25b221f (diff) | |
download | lombok-d2ffd52636113c5737e32779938511ae68a1a0fe.tar.gz lombok-d2ffd52636113c5737e32779938511ae68a1a0fe.tar.bz2 lombok-d2ffd52636113c5737e32779938511ae68a1a0fe.zip |
Fixed showstopper bugs we ran into when actually running with these changes. Related to
8353911b1d3a8d59a07042976bb924a7eccb5d0d
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | src_eclipseagent/lombok/eclipse/agent/EclipseParserPatcher.java | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -78,7 +78,7 @@ </jar> <jar basedir="build/eclipse.agent" destfile="dist/lombok.eclipse.agent-${lombok.version}.jar"> <manifest> - <attribute name="Premain-Class" value="lombok.agent.eclipse.EclipseParserPatcher" /> + <attribute name="Premain-Class" value="lombok.eclipse.agent.EclipseParserPatcher" /> <attribute name="Can-Redefine-Classes" value="true" /> </manifest> </jar> diff --git a/src_eclipseagent/lombok/eclipse/agent/EclipseParserPatcher.java b/src_eclipseagent/lombok/eclipse/agent/EclipseParserPatcher.java index 8ef90dee..1418252d 100644 --- a/src_eclipseagent/lombok/eclipse/agent/EclipseParserPatcher.java +++ b/src_eclipseagent/lombok/eclipse/agent/EclipseParserPatcher.java @@ -25,7 +25,7 @@ public class EclipseParserPatcher { if ( ECLIPSE_PARSER_CLASS_NAME.equals(className) ) { try { - return runTransform("lombok.agent.eclipse.EclipseParserTransformer", classfileBuffer); + return runTransform("lombok.eclipse.agent.EclipseParserTransformer", classfileBuffer); } catch ( Throwable t ) { System.err.println("Wasn't able to patch eclipse's Parser class:"); t.printStackTrace(); @@ -34,7 +34,7 @@ public class EclipseParserPatcher { if ( ECLIPSE_CUD_CLASS_NAME.equals(className) ) { try { - return runTransform("lombok.agent.eclipse.EclipseCUDTransformer", classfileBuffer); + return runTransform("lombok.eclipse.agent.EclipseCUDTransformer", classfileBuffer); } catch ( Throwable t ) { System.err.println("Wasn't able to patch eclipse's CompilationUnitDeclaration class:"); t.printStackTrace(); |