Java 7 -> Java8 code breakage scenarios

Srikanth S Adayapalam srikanth_sankaran at in.ibm.com
Wed Feb 27 09:41:41 PST 2013


Is there a list of scenarios documented somewhere that enumerates the
situations under which a valid Java 7 program will either (a) cease to
be a valid Java 8 program (b) or will exhibit a different behavior ?

Looks like default methods clash can cause (a) and the (unlikely) usage
of diamond inference usage in method arguments can cause (b).

I would be curious to see what other cases exist.

TIA,
Srikanth.


More information about the lambda-spec-observers mailing list