Improve $OPT on current EA builds
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Jan 14 10:38:00 UTC 2016
On 2015-12-27 11:21, Michael Osipov wrote:
> Hi folks,
>
> just tried Java 9 build 99 and noticed that $OPT of JEP 223 is not
> easily parseable/not a valid ISO date:
>
> java --version
>> Java(TM) SE Runtime Environment (build
>> 9-ea+99-2015-12-23-183325.javare.4146.nc)
>
> Can you kindly file an issue to make that a proper basic ISO datetime
> string? Date format would be here yyyyMMdd'T'HHmmss'Z' with timezone
> Etc/UTC as in DateTimeFormatter#basicDateTimeNoMillis.
Michael,
The OPT string is a free-form string, the contents of which are not
specified in JEP 223.
If a user-specified opt string is not specified, the build system makes
up a default opt string. This uses some heuristics to form a
more-or-less unique string, based on the current time, user name and
base directory name. However, you should not rely on the opt string to
really *mean* something. If you want to pass a date string with a
specific format for use in your internal processes, please use the
--with-version-opt argument to configure.
/Magnus
More information about the verona-dev
mailing list