mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
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.
This commit is contained in:
1 parent
00452d0e95
commit
8b6b821918
1 file changed
+1
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user