mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8188023: Avoid -source and -target javac options in nashorn ant compilation
Reviewed-by: jlaskey, hannesw
This commit is contained in:
parent
047f60b678
commit
a00dba8a16
6 changed files with 9 additions and 18 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue