From 285390b07b96b297ebe9f337e58dc2eb854b4a7b Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Wed, 29 Jun 2016 16:02:40 -0700 Subject: [PATCH] ensure modules on path in build arg parser --- .../src/org/aspectj/ajdt/ajc/BuildArgParser.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java index 26c6a41c2..a94def3f6 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java @@ -315,7 +315,11 @@ public class BuildArgParser extends Main { List ret = new ArrayList(); if (parser.bootclasspath == null) { - addClasspath(System.getProperty("sun.boot.class.path", ""), ret); + if (LangUtil.is19VMOrGreater()) { + addClasspath(LangUtil.getJrtFsFilePath(),ret); + } else { + addClasspath(System.getProperty("sun.boot.class.path", ""), ret); + } } else { addClasspath(parser.bootclasspath, ret); } -- 2.39.5