mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8225054: Compiler implementation for records
8225052: javax.lang.model support for records 8225053: Preview APIs support for records 8225055: Javadoc for records 8226314: com.sun.source support for records 8227113: Specification for java.lang.Record 8233526: JVM support for records Implement records in the compiler and the JVM, including serialization, reflection and APIs support Co-authored-by: Brian Goetz <brian.goetz@oracle.com> Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com> Co-authored-by: Harold Seigel <harold.seigel@oracle.com> Co-authored-by: Joe Darcy <joe.darcy@oracle.com> Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com> Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com> Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com> Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
This commit is contained in:
parent
0a375cfa2d
commit
827e5e3226
351 changed files with 24958 additions and 6395 deletions
|
@ -100,7 +100,9 @@ public class TestSourceVersion {
|
|||
*/
|
||||
Set<String> restrictedKeywords =
|
||||
Set.of("open", "module", "requires", "transitive", "exports",
|
||||
"opens", "to", "uses", "provides", "with");
|
||||
"opens", "to", "uses", "provides", "with",
|
||||
// Assume "record" will be a restricted keyword.
|
||||
"record");
|
||||
|
||||
for (String key : restrictedKeywords) {
|
||||
for (SourceVersion version : SourceVersion.values()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue