8145468: update java.lang APIs with new deprecations

Reviewed-by: mcimadamore
4 files changed