Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.5.22
-
None
-
Java 1.7
Description
v2.5.x is for Java 1.7.
GROOVY_2_5_X branch has a method called getOrDefault that raises NoSuchMethodError because Map.getOrDefault was introduced in Java 1.8.
https://docs.oracle.com/javase/7/docs/api/java/lang/NoSuchMethodError.html
https://docs.oracle.com/javase/8/docs/api/java/util/Map.html#getOrDefault-java.lang.Object-V-