mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8085822: JEP 223: New Version-String Scheme (initial integration)
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com> Reviewed-by: erikj, dcubed, dholmes, alanb
This commit is contained in:
parent
63dc40184a
commit
ebd376a99e
4 changed files with 10 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -168,7 +168,7 @@ public enum SourceVersion {
|
|||
String specVersion = System.getProperty("java.specification.version");
|
||||
|
||||
switch (specVersion) {
|
||||
case "1.9":
|
||||
case "9":
|
||||
return RELEASE_9;
|
||||
case "1.8":
|
||||
return RELEASE_8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue