equal
deleted
inserted
replaced
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.warn.illegal.ref.to.restricted.type |
24 // key: compiler.warn.illegal.ref.to.restricted.type |
25 // key: compiler.warn.restricted.type.not.allowed.preview |
25 // key: compiler.warn.restricted.type.not.allowed |
|
26 // options: -Xlint:-options -source 13 |
26 |
27 |
27 class IllegalRefToVarType { |
28 class IllegalRefToVarType { |
28 yield list() { return null; } |
29 yield list() { return null; } |
29 public class yield {} |
30 public class yield {} |
30 } |
31 } |