RFR: 8216407: java.util.UUID.fromString accepts input that does not match expected format

Chihiro Ito chiroito107 at gmail.com
Mon Mar 2 15:39:43 UTC 2020


I tried to correct this problem.

Could you review this fix, please?

According to the RFC 4122, UUID has a fixed format. I tried to raise an
exception if a string was specified that is not suitable for this
format. Also, is there anything else I should be aware of with this bug?

Webrev : http://cr.openjdk.java.net/~cito/JDK-8216407/webrev.00/
JBS : https://bugs.openjdk.java.net/browse/JDK-8216407


More information about the core-libs-dev mailing list