diff options
-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); } |