hg: lambda/lambda/langtools: 8008537: Missing method reference lookup error when unbound search finds a static method

Ali Ebrahimi ali.ebrahimi1781 at gmail.com
Thu Feb 21 13:16:11 PST 2013


Hi maurizio,

are you sure this is ambiguous? I don't think so. (u(Sam2)  is not only
answer?)

TargetType60 s2 = u(TargetType60::n1); //ambiguous (u(Sam1), u(Sam2) apply)


Best Regards,
Ali Ebrahimi

On Wed, Feb 20, 2013 at 11:49 PM, <maurizio.cimadamore at oracle.com> wrote:

> Changeset: 66476d1c5e64
> Author:    mcimadamore
> Date:      2013-02-20 19:19 +0000
> URL:
> http://hg.openjdk.java.net/lambda/lambda/langtools/rev/66476d1c5e64
>
> 8008537: Missing method reference lookup error when unbound search finds a
> static method
>
> ! src/share/classes/com/sun/tools/javac/comp/Attr.java
> ! src/share/classes/com/sun/tools/javac/comp/Resolve.java
> ! src/share/classes/com/sun/tools/javac/resources/compiler.properties
> ! test/tools/javac/diags/examples.not-yet.txt
> ! test/tools/javac/diags/examples/NonStaticCantBeRefFragment.java
> ! test/tools/javac/lambda/MethodReference22.java
> ! test/tools/javac/lambda/MethodReference22.out
> ! test/tools/javac/lambda/MethodReference28.out
> ! test/tools/javac/lambda/MethodReference51.out
> ! test/tools/javac/lambda/TargetType60.java
> ! test/tools/javac/lambda/TargetType60.out
>
>
>


More information about the lambda-dev mailing list