test/tools/javac/diags/examples/CantApplySymbolsFragment.java

changeset 1415
01c9d4161882
parent 1352
d4b3cb1ece84
child 2525
2eb010b6cb22
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
26 // key: compiler.misc.no.conforming.assignment.exists 26 // key: compiler.misc.no.conforming.assignment.exists
27 // key: compiler.misc.arg.length.mismatch 27 // key: compiler.misc.arg.length.mismatch
28 // key: compiler.misc.inapplicable.method 28 // key: compiler.misc.inapplicable.method
29 // key: compiler.misc.cant.apply.symbols 29 // key: compiler.misc.cant.apply.symbols
30 // key: compiler.misc.invalid.mref 30 // key: compiler.misc.invalid.mref
31 // options: -XDallowMethodReferences
32 31
33 class CantApplySymbolsFragment { 32 class CantApplySymbolsFragment {
34 33
35 interface SAM { 34 interface SAM {
36 void m(Integer u); 35 void m(Integer u);

mercurial