bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... constructor, and accesses a method of the outer class. An example ... class's instance methods did not work until after the superclass constructor ...
Feb 5, 1997 ... ... constructor, and accesses a method of the outer class. An example ... class's instance methods did not work until after the superclass constructor ...
This behaviour is totally independent of OS, Java Version, VM type etc. It's an error in java.lang.String source code which is the same for all JDK distributions.
A DESCRIPTION OF THE PROBLEM : When providing a lambda function into a constructor that has a custom consumer interface as a parameter, compiler throws an assertion error. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile provided source code.