I wasn't talkin about a 3rd party library, Java is your runtime platform it has security fixes roll out.
If you are an enterprise company that runs 3 year old java version then
1) Your CSO and CIO should all be fired
2) Your security team should be replaced
3) Your ISO 27001 and SOC2 certification among others should be revoked