hg: lambda/lambda/langtools: Bug fixes:
Peter Levart
peter.levart at marand.si
Thu Aug 19 06:00:51 PDT 2010
On 08/19/10, maurizio.cimadamore at oracle.com wrote:
> Changeset: ce46b6012362
> Author: mcimadamore
> Date: 2010-08-19 13:11 +0100
> URL: http://hg.openjdk.java.net/lambda/lambda/langtools/rev/ce46b6012362
>
> Bug fixes:
> *) check that the compiler emits meaningful diagnostics when the lambda body contains bad statements
> *) the routine that checks for SAM types should skip defender methods in extended interfaces
I don't know, but should this extended interface be considered a SAM type or not?
public interface UncleSam {
extension BigDecimal calculateTaxes(String taxPayerId) default Tax.calc;
}
Regards, Peter
> *) failure of regression test CheckExamples.java depending on localization settings
>
> ! src/share/classes/com/sun/tools/javac/code/Types.java
> ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
> ! test/tools/javac/diags/examples/IllegalChar.java
> + test/tools/javac/lambda/BadStatementInLambda.java
> + test/tools/javac/lambda/BadStatementInLambda.out
> + test/tools/javac/lambda/Defender01.java
>
>
>
More information about the lambda-dev
mailing list