Main.java: Accept -source 1.5, 1.6, 1.7.
2013-01-10 Matthias Klose <doko@ubuntu.com> * tools/gnu/classpath/tools/gjdoc/Main.java: Accept -source 1.5, 1.6, 1.7. From-SVN: r195199
This commit is contained in:
parent
ce02e92b82
commit
ff9d82afcb
|
@ -1,3 +1,8 @@
|
|||
2013-01-10 Matthias Klose <doko@ubuntu.com>
|
||||
|
||||
* tools/gnu/classpath/tools/gjdoc/Main.java: Accept -source 1.5,
|
||||
1.6, 1.7.
|
||||
|
||||
2012-09-20 Release Manager
|
||||
|
||||
* GCC 4.7.2 released.
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1337,12 +1337,17 @@ public final class Main
|
|||
void process(String[] args)
|
||||
{
|
||||
option_source = args[0];
|
||||
if (!"1.2".equals(option_source)
|
||||
if ("1.5".equals(option_source)
|
||||
|| "1.6".equals(option_source)
|
||||
|| "1.7".equals(option_source)) {
|
||||
System.err.println("WARNING: support for option -source " + option_source + " is experimental");
|
||||
}
|
||||
else if (!"1.2".equals(option_source)
|
||||
&& !"1.3".equals(option_source)
|
||||
&& !"1.4".equals(option_source)) {
|
||||
|
||||
throw new RuntimeException("Only he following values are currently"
|
||||
+ " supported for option -source: 1.2, 1.3, 1.4.");
|
||||
throw new RuntimeException("Only the following values are currently"
|
||||
+ " supported for option -source: 1.2, 1.3, 1.4; experimental: 1.5, 1.6, 1.7.");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue