Re: RFR: 8207329: Add NIL Constant to UUID

2020-12-01 Thread Roger Riggs
On Fri, 27 Nov 2020 18:42:49 GMT, Richard Fussenegger wrote: >> The bug report does not make a strong case for adding a NIL constant to the >> UUID API. >> It would add (a small amount) to both footprint and startup time with very >> limited benefit. >> Any application needing a placeholder ca

Re: RFR: 8207329: Add NIL Constant to UUID

2020-11-27 Thread Richard Fussenegger
On Fri, 27 Nov 2020 17:55:27 GMT, Roger Riggs wrote: >> Adds a constant for the special NIL UUID where all bits are zero to >> `java.util.UUID`. The >> [8207329](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8207329) >> mentions the usage of it to avoid `null`, it for sure is also very

Re: RFR: 8207329: Add NIL Constant to UUID

2020-11-27 Thread Roger Riggs
On Thu, 26 Nov 2020 15:54:46 GMT, Richard Fussenegger wrote: > Adds a constant for the special NIL UUID where all bits are zero to > `java.util.UUID`. The > [8207329](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8207329) > mentions the usage of it to avoid `null`, it for sure is also

RFR: 8207329: Add NIL Constant to UUID

2020-11-26 Thread Richard Fussenegger
Adds a constant for the special NIL UUID where all bits are zero to `java.util.UUID`. The [8207329](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8207329) mentions the usage of it to avoid `null`, it for sure is also very handy in testing where a UUID is required and we do not care about