diff options
author | Andy Clement <aclement@pivotal.io> | 2016-06-29 16:02:40 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-06-29 16:02:40 -0700 |
commit | 285390b07b96b297ebe9f337e58dc2eb854b4a7b (patch) | |
tree | aa5164cd627f0f16ae2bb3991b028ad1d32cf8f8 | |
parent | cc8ae26fe024c99bd4c6c54c9e64f0f804144349 (diff) | |
download | aspectj-285390b07b96b297ebe9f337e58dc2eb854b4a7b.tar.gz aspectj-285390b07b96b297ebe9f337e58dc2eb854b4a7b.zip |
ensure modules on path in build arg parserV1_9_0_BETA4
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/BuildArgParser.java | 6 |
1 files changed, 5 insertions, 1 deletions
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<String> ret = new ArrayList<String>(); 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); } |