Java HotSpot(TM) Client VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
Main.java:27: error: incompatible types: Ideone.LambdaTypeInferenceProblem.B cannot be converted to E
E cachedEntity = find(cObj); // This cause error in java 8 but works fine in java 7
^
where E is a type-variable:
E extends Ideone.LambdaTypeInferenceProblem.B declared in class Ideone.LambdaTypeInferenceProblem.ATest
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error