-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b109
ThreadLocalRandom (and SplittableRandom) are at risk of invoking themselves recursively in their <clinit>, which could result in disaster. Defend against future possibility of that by only invoking "foreign" code in <clinit> when recursive invocation is safe.