RFR: (XXS): JDK-8087205: Follow-up fix in langtools for JDK-8085822
Joseph D. Darcy
joe.darcy at oracle.com
Tue Jun 16 21:43:35 UTC 2015
Hi Kumar,
This look okay, as least as a transitory measure. If you haven't done so
already, please file a follow-up bug to revisit this once the version
string has settled.
Thanks,
-Joe
On 6/16/2015 1:03 PM, Kumar Srinivasan wrote:
> Hello,
>
> Please review fix to maintain backward compatibility mainly required
> by langtools developers who use a pre-verona jdk for quick build/test,
> and for bug triaging and isolation purposes.
>
> https://bugs.openjdk.java.net/browse/JDK-8087205
>
> Thanks
> Kumar
>
>
> diff --git
> a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
> b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
> --- a/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
> +++ b/src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
> @@ -169,6 +169,7 @@
>
> switch (specVersion) {
> case "9":
> + case "1.9":
> return RELEASE_9;
> case "1.8":
> return RELEASE_8;
>
More information about the compiler-dev
mailing list