Bug 45961

GemStone/S 64 Bit

3.5.8, 3.5.7, 3.5.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.1, 3.4, 3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.1, 3.3, 3.2.16, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8.1, 3.2.8, 3.2.7, 3.2.6, 3.2.x, 3.1.x, 2.4.4.8, 2.4.4.7, 2.2.6.5, 2.x, earlier versions

System timeNs incorrect return of LargeInteger; value is smaller in 3.3 and later

The method timeNs has been documented to return a SmallInteger, but actually has returned a LargeInteger.

As of version 3.3, the highest bits are discarded to ensure the result is a SmallInteger.

Given the SmallInteger range and nanosecond resolution, this creates a result range of over 36 years. However, values returned from earlier versions will be larger than values returned in v3.3 and later. For example, at a particular specific time, timeNs could return 1454362338115845960 in v3.2.12, and 301440833508998984 in v3.3.


                

Last updated: 2/1/16