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

Peter Levart peter.levart at gmail.com
Sun Mar 8 08:46:06 UTC 2020



On 3/8/20 9:28 AM, Peter Levart wrote:
> I can imagine bugs are a possible outcome when a programmer doesn't 
> realize that different String values can successfully map to a single 
> UUID value. 

Well, this is still true even with the strict method (since 'a'...'f' is 
equivalent to 'A'...'F' in parsing the Hex nibbles). So this argument 
doesn't stand. Well then perhaps this addition is not worth it.

Regards, Peter



More information about the core-libs-dev mailing list