Skip to content

Commit

Permalink
8257855: Example SafeVarargsNotApplicableToRecordAccessors breaks tes…
Browse files Browse the repository at this point in the history
…t tools/javac/diags/CheckExamples.java

Reviewed-by: jjg
  • Loading branch information
Vicente Romero committed Dec 8, 2020
1 parent cef606f commit 6ff18e3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}

1 comment on commit 6ff18e3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.