Looking ahead: proposed Hg forest consolidation for JDK 10

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Oct 19 00:22:49 UTC 2016



On 10/18/2016 06:59 AM, Erik Helin wrote:
>>
>
> You mean that you can work on the langtools repository only? Do you 
> only need a boot JDK? How do you build in those cases? I assumed that 
> langtools, like all the other repositories, were building from the top 
> repository? 

Currently, with the langtools repo, you only need the repo and a 
reasonably-recent build of JDK.  The langtools repo has its own Ant 
script to build the langtools modules, which is easy enough since it's 
all Java code. The Ant script is set up to support IDE integration and 
debugging: some of us use NetBeans, others use IntelliJ. The 
--patch-path option is used to override the langtools modules in the JDK 
image with the new locally built versions.

The technique should be reasonably applicable to anyone just working on 
plain old Java code.

-- Jon


More information about the jdk9-dev mailing list