Try to compile
public class ForwardRefTest {
private Runnable t = ()-> {o.toString();};
private Object o = new Object();
}
Anonymous class instead of lambda works fine.
Comments
This is not a bug is a consequence of a change in the spec implemented as a patch for JDK-8024809