aboutsummaryrefslogtreecommitdiff
path: root/src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-12-04 23:52:24 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-12-04 23:52:24 +0100
commit9cb622b83da5637324debdf41430d62fed8da51f (patch)
treef257ffab472c1d56f282d027321d6cccb14bfe54 /src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java
parent3fc9fdb4855d666224322732ff7011d2eb1626d4 (diff)
downloadlombok-9cb622b83da5637324debdf41430d62fed8da51f.tar.gz
lombok-9cb622b83da5637324debdf41430d62fed8da51f.tar.bz2
lombok-9cb622b83da5637324debdf41430d62fed8da51f.zip
One of the netbeans patches would cause a VerifyError on test builds of netbeans (class verification is off for netbeans distro versions).
fixed.
Diffstat (limited to 'src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java')
-rw-r--r--src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java b/src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java
index 39df269b..e6ae5c03 100644
--- a/src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java
+++ b/src/netbeansAgent/lombok/netbeans/agent/NetbeansPatcher.java
@@ -58,7 +58,7 @@ public class NetbeansPatcher extends Agent {
sm.addScript(ScriptBuilder.exitEarly()
.transplant().request(StackRequest.PARAM1, StackRequest.PARAM2)
.target(new MethodTarget("org.netbeans.StandardModule$OneModuleClassLoader", "<init>"))
- .decisionMethod(new Hook("lombok/netbeans/agent/PatchFixes", "addSelfToClassLoader", "(Lorg/netbeans/Module;Ljava/util/List;)Z"))
+ .decisionMethod(new Hook("lombok/netbeans/agent/PatchFixes", "addSelfToClassLoader", "(Lorg/netbeans/Module;Ljava/util/List;)V"))
.build());
sm.addScript(ScriptBuilder.exitEarly()
.transplant()