diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-19 03:27:56 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-19 03:27:56 +0200 |
commit | 8b6b82191810af185b89a3bd09d8de056669fce6 (patch) | |
tree | f38ecca69fa40c9fdef80f2176f4af97d8199cfe | |
parent | 00452d0e954921b2e0f871bc67d5577daf4cc798 (diff) | |
download | lombok-8b6b82191810af185b89a3bd09d8de056669fce6.tar.gz lombok-8b6b82191810af185b89a3bd09d8de056669fce6.tar.bz2 lombok-8b6b82191810af185b89a3bd09d8de056669fce6.zip |
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.
-rw-r--r-- | src_eclipseagent/lombok/eclipse/agent/EclipsePatcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |