Thanks! пн, 23 сент. 2019 г. в 11:33, David Holmes <david.hol...@oracle.com>:
> On 23/09/2019 6:13 pm, Moshe Zuisman wrote: > > Hi. > > I just want to clarify it. > > If I understand you right: > > > > 1. when I download b222 - and run "get_source script - I really get > > source of b222 > > Yes. > > > 2. Text - that I get, when run "java -version" - is something that I > > can set , when running "configure" script > > > > Am I right? If so - what is parameter,that I have to pass to "configure" > > utility, to set this text? > > Yes you have control via a number of flags as per Severin's link. I > don't know the full set of what you would need, but look at: > > --with-milestone > --with-update-version > --with-build-number > > David > > > пн, 23 сент. 2019 г. в 02:08, David Holmes <david.hol...@oracle.com > > <mailto:david.hol...@oracle.com>>: > > > > Hi, > > > > On 22/09/2019 11:06 pm, Moshe Zuisman wrote: > > > Hi. > > > I need to build open JDK jdk8u 222 > > > > > < > https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/tag/jdk8u222-b10 > > > > > . > > > I know that I can download precompiled binary distro of this > > version. But I > > > need to compile it at our site. > > > Question is - how can I get source of it? > > > I am going to : > > > https://hg.openjdk.java.net/jdk8u/jdk8u/tags then to jdk8u222-ga > > > <https://hg.openjdk.java.net/jdk8u/jdk8u/rev/eeeabadc6bf0> > > > and download zip file with source directory. > > > Then perform "get_sources.sh" and build it... > > > When I perform java -version > > > I get:: > > > [jdkbuild@vl-tlv-ctm-dv7j jdk8u-eeeabadc6bf0]$ > > > > > > jdk8u/build/linux-x86_64-normal-server-release/images/j2re-image/bin/java > > > -version > > > openjdk version "1.8.0-internal" > > > OpenJDK Runtime Environment (build > > > 1.8.0-internal-jdkbuild_2019_09_22_17_42-b00) > > > OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode) > > > > > > and not something like: openjdk version "1.8.0-b222" > > > that I get if I download binary distro from AdoptOpenJDK site... > > > What am I doing wrong? > > > > The build number (and other version info) is set as a configure arg > > when > > you do the build, it isn't hard-coded into the sources. > > > > David > > >