From 8b6b82191810af185b89a3bd09d8de056669fce6 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 19 Jun 2009 03:27:56 +0200 Subject: Live reloading of the eclipse parser classes is technically supported by the agent though I never tested it. I found a bug while browsing this code. fixed it. --- src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src_eclipseagent') diff --git a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java index d51729ff..7011caab 100644 --- a/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java +++ b/src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java @@ -90,7 +90,7 @@ public class EclipsePatcher { instrumentation.addTransformer(new Patcher(), true); if ( transformExisting ) for ( Class c : instrumentation.getAllLoadedClasses() ) { - if ( c.getName().equals(ECLIPSE_PARSER_CLASS_NAME) ) { + if ( c.getName().equals(ECLIPSE_PARSER_CLASS_NAME) || c.getName().equals(ECLIPSE_CUD_CLASS_NAME) ) { try { instrumentation.retransformClasses(c); } catch ( UnmodifiableClassException ex ) { -- cgit