8072480: javac should support compilation for a specific platform version

Adding a new javac option for compiling for JDK N: -release N; including history data for previous version of JDK.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: erikj, ihse, jjg, mcimadamore, mr
This commit is contained in:
Jan Lahoda 2015-07-01 09:51:48 +02:00
parent 19a0c8b1f5
commit 3210b9650a
120 changed files with 88798 additions and 72 deletions

View file

@ -754,7 +754,7 @@ public class ToolBox {
try {
String line;
while ((line = in.readLine()) != null) {
out.append(line).append("\n");
out.append(line).append(lineSeparator);
}
} catch (IOException e) {
}