diff --git a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/model/ASTManager.java b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/model/ASTManager.java index 4ae88a21ea..e9c7533e33 100644 --- a/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/model/ASTManager.java +++ b/pmd-ui/src/main/java/net/sourceforge/pmd/util/fxdesigner/model/ASTManager.java @@ -106,12 +106,14 @@ public class ASTManager { designerRoot.getLogger().logEvent(new LogEntry(e, Category.SYMBOL_FACADE_EXCEPTION)); } try { - languageVersionHandler.getQualifiedNameResolutionFacade().start(node); + // TODO this should use the aux classpath + languageVersionHandler.getQualifiedNameResolutionFacade(ASTManager.class.getClassLoader()).start(node); } catch (Exception e) { designerRoot.getLogger().logEvent(new LogEntry(e, Category.QUALIFIED_NAME_RESOLUTION_EXCEPTION)); } try { + // TODO this should use the aux classpath languageVersionHandler.getTypeResolutionFacade(ASTManager.class.getClassLoader()).start(node); } catch (Exception e) { designerRoot.getLogger().logEvent(new LogEntry(e, Category.TYPERESOLUTION_EXCEPTION));