Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8-beta-3
-
None
-
None
Description
def upperLong = 0
new UUID(upperLong, 0xC000000000000000L)
The code above fails with
BUG! exception in phase 'conversion' in source unit 'Script1.groovy' For input string: "C000000000000000" Caused by: java.lang.NumberFormatException: For input string: "C000000000000000"
I put the above code in Java after facing this issue and it worked fine.
If I reduce the size to "0xC0000000000L", it works fine.