From 02196dfaebb3da605a25ac4b798293270ccd0df7 Mon Sep 17 00:00:00 2001 From: Manindra Moharana Date: Mon, 19 Aug 2013 20:16:31 +0530 Subject: [PATCH] jars loaded only on demand --- pdex/src/processing/mode/experimental/ErrorCheckerService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdex/src/processing/mode/experimental/ErrorCheckerService.java b/pdex/src/processing/mode/experimental/ErrorCheckerService.java index 2f1d168e4..99fb31515 100644 --- a/pdex/src/processing/mode/experimental/ErrorCheckerService.java +++ b/pdex/src/processing/mode/experimental/ErrorCheckerService.java @@ -399,7 +399,6 @@ public class ErrorCheckerService implements Runnable{ syntaxErrors.set(false); else syntaxErrors.set(true); - astGenerator.loadJars(); } protected URLClassLoader classLoader; private void compileCheck() { @@ -1250,6 +1249,8 @@ public class ErrorCheckerService implements Runnable{ } } } + if(loadCompClass) + astGenerator.loadJars(); // log("load..? " + loadCompClass); }