mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
Fixed showstopper bugs we ran into when actually running with these changes. Related to
8353911b1d
This commit is contained in:
1 parent
c4cd04b7d2
commit
d2ffd52636
2 files changed
+3
-3
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user