Include java.lang.invoke classes in bootstrap classpath.

This commit is contained in:
akwizgran
2017-11-16 15:26:05 +00:00
parent fc93ced067
commit e30e34f342
5 changed files with 28 additions and 24 deletions

View File

@@ -8,10 +8,5 @@ dependencies {
// If a Java 6 JRE is available, check we're not using any Java 7 or 8 APIs
tasks.withType(JavaCompile) {
doFirst {
def home = System.env.JAVA_6_HOME;
if (home != null && !home.isEmpty()) {
options.bootstrapClasspath = files("${home}/jre/lib/rt.jar", "${home}/jre/lib/jsse.jar")
}
}
useJava6StandardLibrary(it)
}