@@ -21,10 +21,12 @@ * questions. */ // key: compiler.misc.feature.primitive.patterns // key: compiler.warn.preview.feature.use.plural + // as of Valhalla, j.l.Record is a preview class: + // key: compiler.warn.preview.feature.use.classfile // options: --enable-preview -source ${jdk.version} -Xlint:preview class PrimitivePatternMatching { boolean m(Object o) { return o instanceof int s;