build number for a jdk-*-ga tag?

Erik Joelsson erik.joelsson at oracle.com
Mon Apr 1 13:30:27 UTC 2019


Hello Matthias,

Looking at the tags in the repo, jdk-12-ga points to the same change as 
jdk-12+33, so that would be the build number we released. If you 
download the binaries from http://jdk.java.net/12/, the version string 
reported from those builds also say 33:

$ bin/java -version
openjdk version "12" 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)

/Erik

On 2019-04-01 02:38, Matthias Klose wrote:
> When preparing packages for Debian/Ubuntu for openjdk-12, I was using versions
> derived from the jdk-12+<n> tags (e.g. 12~31, 12~32, ...). Using the tilde
> meaning "less than/earlier than 12).  What build number should a build from the
> jdk-12-ga get?   Asking because my packaging choose to set the build number to
> an empty string, which is accepted by configure, but then later fails the build
> because an empty macro is passed instead of an empty string.
>
> For now I choose 12.0.0+0 (build number 0) to mark the final release and
> resetting the build number to 0.  So I have 12~32-1 < 12.0.0+0-1 < 12.0.1+1-1.
> Maybe not that important as this initial 12 release is usually very short lived.
>
> Matthias
>



More information about the build-dev mailing list