I am debugging Java code, called from Matlab and getting an exception:
Java exception occurred:
java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
how can it be, that library class has no library method?
UPDATE
Matlab is using Java7. The code I call was compiled for Java8 and contains syntax
for (Tag t : matrix.keySet()) {
i.e. Java8-specific. Although, it is claimed, that it should be binary compatible with Java7, otherwise there was no sense to do many of compromises in Java8.