From ea700d84ec6e5e7e90c706a5c92d403b8ac33efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Sat, 24 Mar 2018 23:48:46 +0100 Subject: [PATCH] Fix designer --- .../net/sourceforge/pmd/util/fxdesigner/model/ASTManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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));