Update on JDK 10 repo consolidation; third generation prototype coming soon, September 2017 still the target
joe darcy
joe.darcy at oracle.com
Wed Sep 6 01:20:27 UTC 2017
Hi Max,
On 9/5/2017 4:47 PM, Weijun Wang wrote:
>> On Sep 1, 2017, at 10:00 AM, joe darcy <joe.darcy at oracle.com> wrote:
>>
>> One of the infra-related items planned to be worked on is a patch conversion script analogous to (and perhaps sharing implementation with) the shuffle script used for the Jigsaw changes.
> In fact, if the test directory is flattened (i.e. no more test/jdk), then there will be no need for a shuffle script. At least this is true for patches for the jdk sub-repo.
As noted in the current text of the JEP, "As a consequence [of combining
all the module src directories from each repo into consolidated
directory], from the root of the repository the relative path of a
source file in a module is preserved after the consolidation and src
directory combination."
Therefore, it is true that no relative path change needs to occur in the
forward direction. However, if backporting a patch from a the
consolidated repo to the split forest, multiple patches may need to be
created.
However, there are many more logistical issues and fewer concrete
benefits from combining all the tests together. Additionally, the tests
lack the strict module-based structure present under the src directory.
For example, most tests today in core libs are are arranged by package
rather than by module.
Consequently, I don't think a wholesale rearrangement of the test is
warranted at this time as part of repo consolidatoin, but I'd encourage
teams to examine the structure of tests in their own areas.
Thanks,
-Joe
More information about the jdk10-dev
mailing list