Javac error (original) (raw)

Remi Forax forax at univ-mlv.fr
Mon Apr 1 03:01:22 PDT 2013


On 04/01/2013 10:52 AM, Jose wrote:

Earlier builds would compile the code below, but now it fails.

How can I define static functions like this with the latest builds?

import java.util.function.Function; public interface Model { Function<Model, String> f=m->m.section().text(); Section section(); } class Section{ String text(){ return ""; } }

Can you post the error message ?

cheers, Rémi



More information about the lambda-dev mailing list