Looking ahead: proposed Hg forest consolidation for JDK 10

Joseph D. Darcy joe.darcy at oracle.com
Wed Oct 12 22:21:53 UTC 2016

On 10/12/2016 3:17 PM, Jonathan Gibbons wrote:
> On 10/12/2016 03:04 PM, Mikael Vidstedt wrote:
>>> On Oct 12, 2016, at 9:06 AM, Andrew Hughes <gnu.andrew at redhat.com> 
>>> wrote:
>>> Even after a potential repo consolidation I would expect it to be 
>>> possible to only (re-)build the hotspot component, without having to 
>>> necessarily recompile the rest of the JDK (the current build system 
>>> already supports this). It may also be possible to import/export it 
>>> into an existing JDK, but it should be noted that we do not in any 
>>> way guarantee that the end result will work as intended unless the 
>>> code for the pre-built JDK matches the Hotspot code. As Joe 
>>> mentions, we have made several potentially breaking changes like 
>>> that over the last few years - I did at least a couple of breaking 
>>> changes myself related to the Unsafe cleanup.


> Ditto from LangTools.  Currently, those of us working on the javac and 
> javadoc (in particular) can use a simple Ant script to (re)build just 
> the modules in the langtools/ repo. Yes, it's do at your own risk, and 
> not guaranteed to work, and requires maintenance, but I would expect 
> that such mechanisms will continue to work after the consolidation.

Yes, the intention is to allow all the existing build targets to still 
work post consolidation.



More information about the jdk9-dev mailing list