Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
5102
-
Normal
Description
In Java 7 keySet() method in ConcurrentHashMap returns Set
In Java 8 keySet() method in ConcurrentHashMap returns ConcurrentHashMap.KeySetView
Since KeySetView implements Set, error does not occur when building the source code. The exception is throw in runtime when the code is build with Java 8 and run on Java 7.
The problem was found by integration tests on Jenkins.