This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients conqp, jophine pranjal, xtreak
Date 2018-09-19.12:06:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537358819.07.0.956365154283.issue34732@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-09-19 12:06:59xtreaksetrecipients: + xtreak, conqp, jophine pranjal
2018-09-19 12:06:59xtreaksetmessageid: <1537358819.07.0.956365154283.issue34732@psf.upfronthosting.co.za>
2018-09-19 12:06:59xtreaklinkissue34732 messages
2018-09-19 12:06:59xtreakcreate