-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b112
-
generic
-
generic
-
Not verified
Because CompiledFunctions extends TreeSet to store specialized functions and CompiledFunction only uses its method type weight to implement Comparable.compareTo(), a CompiledFunction will replace any other CompiledFunction with the same weight present in the TreeSet.
To allow storing multiple functions with the same weight (e.g. (int,int) and (double)) compareTo() needs to be consistent with equals(), i.e. it must only return 0 if objects are equal.
To allow storing multiple functions with the same weight (e.g. (int,int) and (double)) compareTo() needs to be consistent with equals(), i.e. it must only return 0 if objects are equal.
- relates to
-
JDK-8030861 Need regtest for JDK-8025965
-
- Closed
-