RFR: 6594730: UUID.getVersion() is only meaningful for Leach-Salz variant

Richard Fussenegger github.com+1059453+fleshgrinder at openjdk.java.net
Wed Dec 16 14:44:56 UTC 2020


On Mon, 14 Dec 2020 19:36:45 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> There is very little value in adding the exception doing so might prevent existing applications from continuing to function.

I disagree on the value and am with the author of the original issue. All these existing applications are functioning but factually invalid, adding the exception like we have it in all other methods of the class would surface the issue in exactly those applications.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1467


More information about the core-libs-dev mailing list