hg: lambda/lambda/langtools: Bug fixes:

Rémi Forax forax at univ-mlv.fr
Fri Jul 27 12:28:13 PDT 2012


On 07/27/2012 09:15 PM, maurizio.cimadamore at oracle.com wrote:
> Changeset: a66c3c778a5f
> Author:    mcimadamore
> Date:      2012-07-27 20:15 +0100
> URL:       http://hg.openjdk.java.net/lambda/lambda/langtools/rev/a66c3c778a5f
>
> Bug fixes:
> *) Array type not accepted as qualifier of unbound method reference
>
> ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
> ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
> + test/tools/javac/lambda/MethodReference49.java
> ! test/tools/javac/lambda/MethodReferenceParserTest.java
>
>

Hi Maurizio,
at the end of the method main of MethodReference49,
you should use Arrays.equals() instead of a loop because you forget to 
check that the two arrays have the same size.

cheers,
Rémi



More information about the lambda-dev mailing list