Сann't Build the Project Under Mac OS (original) (raw)
Aleksey Shipilev aleksey.shipilev at oracle.com
Sun May 12 03:30:53 PDT 2013
- Previous message: Сann't Build the Project Under Mac OS
- Next message: Re: Сann't Build the Project Under Mac OS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 05/12/2013 02:14 PM, Мамонтов Иван wrote:
I think it makes sense to make test more platform independent, i.e. avoid System.nanoTime() method call.
Thanks for the bug report! That was a test bug. The granularity of System.nanoTime() is indeed not guaranteed. I had pushed the fix into the repo:
$ hg tip changeset: 29:fe1c20a483af tag: tip user: shade date: Sun May 12 14:29:59 2013 +0400 summary: Do not rely on System.nanoTime() for ordering the test events.
I had also checked there are no other uses of nanoTime or currentTimeMillis in our testbase. Please pull the new revision and try again.
-Aleksey.
- Previous message: Сann't Build the Project Under Mac OS
- Next message: Re: Сann't Build the Project Under Mac OS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]