Tue, 13 May 2014 16:11:43 +0100
8028503: javac, for method references a primitive type can be added as a bound
Reviewed-by: jjg, dlsmith
1 MethodReference09.java:21:23: compiler.err.non-static.cant.be.ref: kindname.method, getThis()
2 MethodReference09.java:21:20: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.cant.apply.symbol: kindname.method, getX, compiler.misc.no.args, MethodReference09.Foo, kindname.class, MethodReference09.Foo<X>, (compiler.misc.arg.length.mismatch)))
3 MethodReference09.java:22:20: compiler.err.non-static.cant.be.ref: kindname.variable, this
4 3 errors