RFR: 8207329: Add NIL Constant to UUID
Roger Riggs
rriggs at openjdk.java.net
Tue Dec 1 22:08:55 UTC 2020
On Fri, 27 Nov 2020 18:42:49 GMT, Richard Fussenegger <github.com+1059453+Fleshgrinder at openjdk.org> 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 can do so itself and all existing applications take care of their own needs.
>
> For me it's mostly useful in tests but we cannot ship test only code. We could fix the issues you mention through lazy initialization, or we simply close the PR and ticket and state that the construction via `new UUID(0, 0)` is already simple enough.
There being no other comments supporting this enhancement, I propose to close this PR **without** integrating.
I'll take care of closing the bug as will-not-fix. It can be reopened if new information becomes available.
For any API addition, its useful to do an email query on core-libs-dev at openjdk.net to see if there is support for API enhancements. Thank you.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1460
More information about the core-libs-dev
mailing list