As part of my work on
YARN-6586, I noticed that we're using a very old version of BouncyCastle:
The *-jdk16 artifacts have been discontinued and are not recommended (see http://bouncy-castle.1462172.n4.nabble.com/Bouncycaslte-bcprov-jdk15-vs-bcprov-jdk16-td4656252.html).
In particular, the newest release, 1.46, is from 2011!
The currently maintained and recommended artifacts are *-jdk15on:
They're currently on version 1.60, released only a few months ago.
We should update BouncyCastle to the *-jdk15on artifacts and the 1.60 release. It's currently a test-only artifact, so there should be no backwards-compatibility issues with updating this. It's also needed for
YARN-6586, where we'll actually be shipping it.