mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-06 06:00:26 +00:00
8257855: Example SafeVarargsNotApplicableToRecordAccessors breaks test tools/javac/diags/CheckExamples.java
Reviewed-by: jjg
This commit is contained in:
parent
cef606feca
commit
6ff18e38b4
@ -23,8 +23,5 @@
|
||||
|
||||
// key: compiler.err.varargs.invalid.trustme.anno
|
||||
// key: compiler.misc.varargs.trustme.on.non.varargs.accessor
|
||||
// key: compiler.note.preview.filename
|
||||
// key: compiler.note.preview.recompile
|
||||
// options: --enable-preview -source ${jdk.version}
|
||||
|
||||
record R(@SafeVarargs String... s) {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user