Javac error (original) (raw)
Jose jgetino at telefonica.net
Mon Apr 1 01:52:54 PDT 2013
- Next message: Javac error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ""; } }
- Next message: Javac error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]