8188023: Avoid -source and -target javac options in nashorn ant compilation

Reviewed-by: jlaskey, hannesw
This commit is contained in:
Athijegannathan Sundararajan 2017-09-27 18:40:37 +05:30
parent 047f60b678
commit a00dba8a16
6 changed files with 9 additions and 18 deletions

View file

@ -336,6 +336,7 @@ public final class Source implements Loggable {
}
}
@SuppressWarnings("try")
protected void loadMeta() throws IOException {
if (length == 0 && lastModified == 0) {
final URLConnection c = url.openConnection();