8330182: Start of release updates for JDK 24

8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac

Reviewed-by: iris, vromero, asotona, dholmes
This commit is contained in:
Joe Darcy 2024-06-06 16:01:57 +00:00 committed by Jesper Wilhelmsson
parent 054362abe0
commit 75dc2f8518
50 changed files with 2076 additions and 64 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2024, 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
@ -24,7 +24,7 @@
/*
* @test
* @bug 6395981 6458819 7025784 8028543 8028544 8193291 8193292 8193292 8205393 8245585 8245585 8245585 8286034
* 8296150 8306585 8319414
* 8296150 8306585 8319414 8330183
* @summary JavaCompilerTool and Tool must specify version of JLS and JVMS
* @author Peter von der Ah\u00e9
* @modules java.compiler
@ -37,7 +37,7 @@
* RELEASE_8 RELEASE_9 RELEASE_10 RELEASE_11 RELEASE_12
* RELEASE_13 RELEASE_14 RELEASE_15 RELEASE_16 RELEASE_17
* RELEASE_18 RELEASE_19 RELEASE_20 RELEASE_21 RELEASE_22
* RELEASE_23
* RELEASE_23 RELEASE_24
*/
import java.util.EnumSet;