RFR: "null" makes the error by failing inference of type
ShinyaYoshida
bitterfoxc at gmail.com
Thu Dec 11 02:08:07 UTC 2014
Add test:
http://cr.openjdk.java.net/~shinyafox/kulla/3/webrev.01/
Regards,
shinyafox
ShinyaYoshida
2014-12-11 10:38 GMT+09:00 ShinyaYoshida <bitterfoxc at gmail.com>:
> updated my patch
> Hi,
>
> The type inference fails by "null":
> -> null
> (...)
> +++++WRAP
> package REPL;
> import static REPL.$REPL2.*;
> public class $REPL5 {
> public static Object do_it() throws Throwable {
> $1=null;;
> return $1;
> }
> public static <nulltype> $1;
> }
>
> -----
> | Error --
> | <identifier> expected
> | null;
>
> Please review my patch.
> webrev: http://cr.openjdk.java.net/~shinyafox/kulla/3/webrev.00/
>
> Regards,
> shinyafox
> ShinyaYoshida
>
>
More information about the kulla-dev
mailing list