Hello,
From what I can tell, you are doing it right. Did you do a clean build
after you reran configure? Changing the version information does not
correctly trigger an incremental build of all uses of the version
information.
/Erik
On 2014-08-22 03:13, Medi Montaseri wrote:
Trying [email protected]
I think the jtreg-dev was a wrong DL to begin with.
Medi
________________________________
From: Medi Montaseri
Sent: Thursday, August 21, 2014 3:03 PM
To: [email protected]
Subject: How to set build version
Hi,
I currently get the following version info when I build my JDK
java -version
openjdk version "1.8.0-20140820"
OpenJDK Runtime Environment (build
1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)
OpenJDK 64-Bit Server VM (build 25.0-b69, mixed mode)
Note the "mmontaseri" in the build-id, this token "mmontaseri" is the value of
$USER who build it.
From jdk8src/common/autoconf/generated-configure.sh , I deduced that this can
be changed via USER_RELEASE_SUFFIX which on the configure line, one would say
./configure --with-user-release-suffix=HDS --with-build-number=nnnn
After doing so, I see the following in the spec.gmk file
egrep -e 'USER_RELEASE_SUFFIX|COOKED_BUILD_NUMBER'
jdk8src/build/linux-x86_64-normal-server-release/spec.gmk
USER_RELEASE_SUFFIX=HDS
COOKED_BUILD_NUMBER:=nnnn
But the output of "java -version" still shows
OpenJDK Runtime Environment (build
1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)
Am I not going about this the right way? Is there another param that I need to
set at configure
Thanks
Medi