8214546: Start of release updates for JDK 14

8214547: Add SourceVersion.RELEASE_14
8214548: Add source 14 and target 14 to javac
8214549: Bump maximum recognized class file version to 58 for JDK 14

Reviewed-by: jjg, mikael, erikj, jlahoda, dholmes
This commit is contained in:
Joe Darcy 2019-06-11 16:45:20 -07:00
parent d3af9ce324
commit 4750064828
51 changed files with 2944 additions and 89 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2019, 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
@ -48,7 +48,8 @@ public class ClassVersionChecker {
TEN("10", 54),
ELEVEN("11", 55),
TWELVE("12", 56),
THIRTEEN("13", 57);
THIRTEEN("13", 57),
FOURTEEN("14", 58);
private Version(String release, int classFileVer) {
this.release = release;