官术网_书友最值得收藏!

Consolidating the JDK forest into a single repository

Up to Java 9, JDK's code base used multiple repositories (there are eight repositories in Java 9—root, corba, hotspot, jaxp, jaxws, jdk, langtools, and nashorn). Consolidating the JDK forest aims to combine the multiple repositories used by the JDK into a single repository.

As JDK's code base grew over the years, it was stored in separate repositories on purpose, for a separation of concerns. However, as the JDK evolved, the code base also developed interdependencies across different repositories.

The advantages offered by these multiple repositories have outgrown the disadvantages with their maintenance. For interdependent changesets, you can't perform a single commit to a repository. There have been cases where the code for even a single (and simple) bug fix spanned multiple repositories. In such cases, the commit can't be performed atomically. A common approach is to use the same bug ID across multiple repositories. But this is not mandated, since using the same bug ID is not mandated, commits for same bug across different repositories could be made using different bug IDs. This can lead to difficulty in tracking bug fixes.

Also, the individual repositories don't have independent development tracks and release cycles. Java has one main release cycle, which includes changes in all of these repositories. Therefore, it was high time to integrate the JDK code base into one repository, to ease its maintenance.

This is a housekeeping feature that won't affect how you write your code.
主站蜘蛛池模板: 贡山| 疏附县| 灵台县| 喀喇| 兴海县| 贵定县| 桃江县| 张家港市| 神池县| 普格县| 高阳县| 琼结县| 乐清市| 建瓯市| 堆龙德庆县| 红原县| 报价| 邯郸县| 利川市| 兰州市| 确山县| 和静县| 哈巴河县| 富裕县| 余干县| 百色市| 都安| 曲阳县| 阜城县| 平乡县| 广安市| 眉山市| 同江市| 闽侯县| 台安县| 新建县| 黔西| 道真| 古蔺县| 小金县| 武宁县|