Message325749
I think this is a valid UUID and trying this on JDK 9 also returns 15 for the version like Python. Am I missing something here?
➜ ~ jshell
| Welcome to JShell -- Version 9.0.4
| For an introduction type: /help intro
jshell> import java.util.*
jshell> UUID.fromString("481a8de5-f0d1-f211-b425-e41f134196da").version()
$2 ==> 15
jshell> UUID.fromString("481a8de5-f0d1-f211-b425-e41f134196da").variant()
$3 ==> 2
JDK implementation : http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/java/util/UUID.java#l247
Thanks |
|
Date |
User |
Action |
Args |
2018-09-19 12:06:59 | xtreak | set | recipients:
+ xtreak, conqp, jophine pranjal |
2018-09-19 12:06:59 | xtreak | set | messageid: <1537358819.07.0.956365154283.issue34732@psf.upfronthosting.co.za> |
2018-09-19 12:06:59 | xtreak | link | issue34732 messages |
2018-09-19 12:06:59 | xtreak | create | |
|