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

Chihiro Ito chiroito107 at gmail.com
Fri Mar 6 15:25:26 UTC 2020


Hi,

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

Regards,
Chihiro

2020年3月3日(火) 0:39 Chihiro Ito <chiroito107 at gmail.com>:
>
> Hi,
>
> 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
>
> Regards,
> Chihiro


More information about the core-libs-dev mailing list