RFE support jar as modulepath argument
Ali Ebrahimi
ali.ebrahimi1781 at gmail.com
Fri Dec 4 12:27:04 UTC 2015
Hi,
On Fri, Dec 4, 2015 at 3:33 PM, Alan Bateman <Alan.Bateman at oracle.com>
wrote:
>
> On 03/12/2015 19:49, Robert Scholte wrote:
>
>>
>>
> I think *-tests.jar brings many discussion points and maybe something for
> another thread. In brief, if the tests are in their own package hierarchy,
> not overlapping with the packages in the library that they test, then the
> tests could be another module with their own module declaration. If the
> tests are in the same packages as the APIs that they are testing (this is
> typical, also necessary when testing package private types or methods) then
> they won't be their own module but will instead need to be grafted onto the
> module that they are testing. We've worked through several examples and I
> think we have all the options in place, we'll just need to make sure that
> it is easy to use and having Maven plugins supporting those options would
> be a great help.
Just as I said in another thread post:
If we have module group concept and modules belong to same module group
loaded by same classloader then we can support splited packages. This way
each module group maps to each classloader.
This will support test modules.
--
Best Regards,
Ali Ebrahimi
More information about the jigsaw-dev
mailing list