modulepath and classpath mixture
Robert Scholte
rfscholte at apache.org
Fri Mar 18 07:56:00 UTC 2016
On Thu, 17 Mar 2016 21:23:25 +0100, Alan Bateman <Alan.Bateman at oracle.com>
wrote:
>
>
> On 17/03/2016 19:51, Robert Scholte wrote:
>> :
>>
>> To me it seems like the need for knowing the module name keeps
>> returning.
>> This increases the need for a proper implementation of the
>> maven-compiler-plugin as a multirelease JAR.
>> The pattern as shown during FOSDEM showed that the idea works, but it
>> is not solid enough.
>> And the next question would be: can Maven (or actually Plexus
>> ClassWorld) handle this?
>>
>> I'll need to work out the things to be done and try to get more Maven
>> developers involved.
> Would it you take it from the source module-info.class or the compiled
> module-info.class? The former would require a small parser. The latter
> is not difficult with ASM.
>
> -Alan
I can do the former with QDox, for the latter I had JDK APIs in mind, but
if ASM is an option too, that's an interesting option. Need to figure out
how to do that.
Robert
More information about the jigsaw-dev
mailing list