FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
OSX Yosemite 10.10.5
A DESCRIPTION OF THE PROBLEM :
If the key in a javafx.util.Pair is null, the hashcode method throws a NullPointerException because it tries to call key.hashcode() without checking if key is null first.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
OSX Yosemite 10.10.5
A DESCRIPTION OF THE PROBLEM :
If the key in a javafx.util.Pair is null, the hashcode method throws a NullPointerException because it tries to call key.hashcode() without checking if key is null first.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8140503 Improve javafx.util.Pair hash code computation
-
- Resolved
-