test/tools/javac/lambda/VoidCompatibility.out

Fri, 30 Nov 2012 15:14:12 +0000

author
mcimadamore
date
Fri, 30 Nov 2012 15:14:12 +0000
changeset 1433
4f9853659bf1
parent 1415
01c9d4161882
permissions
-rw-r--r--

8004105: Expression statement lambdas should be void-compatible
Summary: Fix lambda compatibility rules as per latest EDR
Reviewed-by: jjg

     1 VoidCompatibility.java:17:9: compiler.err.ref.ambiguous: schedule, kindname.method, schedule(VoidCompatibility.Runnable), VoidCompatibility, kindname.method, schedule(VoidCompatibility.Thunk<?>), VoidCompatibility
     2 VoidCompatibility.java:23:9: compiler.err.ref.ambiguous: schedule, kindname.method, schedule(VoidCompatibility.Runnable), VoidCompatibility, kindname.method, schedule(VoidCompatibility.Thunk<?>), VoidCompatibility
     3 2 errors

mercurial