mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8246774: implement Record Classes as a standard feature in Java
Co-authored-by: Vicente Romero <vromero@openjdk.org> Co-authored-by: Harold Seigel <hseigel@openjdk.org> Co-authored-by: Chris Hegarty <chegar@openjdk.org> Reviewed-by: coleenp, jlahoda, sspitsyn, chegar
This commit is contained in:
parent
0b3e6c51ba
commit
c17d58516f
109 changed files with 294 additions and 784 deletions
|
@ -1,9 +1,9 @@
|
|||
/**
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8242478
|
||||
* @bug 8242478 8246774
|
||||
* @summary test for local interfaces
|
||||
* @compile/fail/ref=LocalInterface.out -XDrawDiagnostics LocalInterface.java
|
||||
* @compile --enable-preview -source ${jdk.version} LocalInterface.java
|
||||
* @compile/fail/ref=LocalInterface.out -XDrawDiagnostics -source 15 LocalInterface.java
|
||||
* @compile LocalInterface.java
|
||||
*/
|
||||
class LocalInterface {
|
||||
void m() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue