Replace @exception with @throws in java.rmi.registry package.
This is the related discussion on the core-libs mailing list:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068172.html
This is the related discussion on the core-libs mailing list:
https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-August/068172.html