RFR 8199616: Fix @module declarations in tier1 tests
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Fri Mar 16 00:11:43 UTC 2018
Martin,
> On Mar 15, 2018, at 4:30 PM, Martin Buchholz <martinrb at google.com> wrote:
>
> How did you find the missing module dependencies?
I have a tool which runs tests one by one like this (I am simplifying):
- run test with -javaoptions:”—limit-modules …” with only the modules listed through @modules
- if fails, run test with no —limit-modules
- if passes, that is a potential problem.
We are thinking about making the tool open-source in code-tools project in one form or another.
Tool aside, everybody is free to use —limit-modules on a newly created test.
> Why was it only noticed now?
It was not - I have just gotten around fixing it. There are more known @module deficiencies right now.
> Can we automatically prevent backsliding?
That would be a job for a continuous integration system, I imagine.
Shura
>
>
> On Thu, Mar 15, 2018 at 3:40 PM Alexandre (Shura) Iline <alexandre.iline at oracle.com <mailto:alexandre.iline at oracle.com>> wrote:
> Hi,
>
> Please take a quick look on fix adding missing module dependencies to tests in :tier1 jdk tests.
>
> Webrev: http://cr.openjdk.java.net/~shurailine/8199616/webrev.00 <http://cr.openjdk.java.net/~shurailine/8199616/webrev.00>
>
> Shura.
>
More information about the core-libs-dev
mailing list