java - Internal inconsistency detected during lambda shape analysis -


in similar problem described in this unanswered question , this other unanswered question, receive warning in eclipse luna service release 1 (4.4.1) (20140925-1800) reading, "(recovered) internal inconsistency detected during lambda shape analysis". code follows:

public static <t> t findfirst(iterable<t> list, predicate<t> condition)  {     /* ... */ }  public static integer findfirstprime(iterable<integer> integers) {     return findfirst(integers,             integer -> {                 /* return either true or false */             }     ); } 

the warning raised on text reading integer ->. there bug report stating issue fixed eclipse mars 4.5, can in meantime? if want use @suppresswarnings, how know warning type supply?

unfortunately, not type of warning can suppress.

at least looks fix has been back-ported 4.4.2 maintenance release of luna, due released on february 27, 2015:

https://projects.eclipse.org/projects/eclipse/releases/4.4.2/plan


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -