Source Bundles

Simone Bordet simone.bordet at gmail.com
Mon Jan 21 14:50:27 PST 2013


Hi,

source bundles appear to be updated only to 7u6 in this page:
http://jdk7.java.net/source.html

I could not find a tarball for any subsequent 7u release, so I
installed mercurial and followed instructions at
http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#get_source
(without the forest extension), replacing "jdk7" with "jdk7u", and got
the sources, in detail:

$ hg clone http://hg.openjdk.java.net/jdk7u/jdk7u jdk7u
$ cd jdk7u
$ ./make/scripts/hgforest.sh update jdk7u6-b24

Then I compared what I got from mercurial with what was bundled as zip
file, and the sources are *different*. Small differences in several
files, but still.

I have two questions:
1) why the source bundle page is not up-to-date ? Perhaps it is in
another page that I could not find ?
2) what is the correct way to get the sources for a specific
"official" JDK release ? I was really surprised to see that the 7u6
bundle and the mercurial approach for the same tag yielded different
sources. Ideally, given an Oracle JDK 7ux-by, I would like to obtain
the source bundle that was used to build it, which I assume would be
tagged with jdk7ux-by in mercurial.

The reason for this request is that I maintain the Next Protocol
Negotiation (http://en.wikipedia.org/wiki/Next_Protocol_Negotiation)
changes that are required to make Java support the SPDY protocol
(http://en.wikipedia.org/wiki/SPDY), and these changes require
modification to the OpenJDK sources (it's hacky but works until there
will be a public TLS extension API supported in the JDK - I am all
ears for suggestions on how to make this happen).

Thanks !

Simon
--
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz



More information about the jdk7u-dev mailing list