Fix generate-uuid implementation to use randomUUID

Description

generate-uuid is using `new UUID(random.nextLong(), random.nextLong()) ` to generate UUID. This is resulting in UUID conflicts probably because Random.nextLong() doesn't return the full set of possible longs. (From the java docs - Because class Random uses a seed with only 48 bits, this algorithm will not return all possible long values). Use UUID.randomUUID() instead.

Release Notes

None

Activity

Show:

Greeshma Swaminathan March 5, 2021 at 5:37 PM

Greeshma Swaminathan March 5, 2021 at 5:36 PM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Created March 3, 2021 at 6:50 PM
Updated March 16, 2021 at 5:43 AM
Resolved March 5, 2021 at 5:43 PM