[ 
https://issues.apache.org/jira/browse/MCOMPILER-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767464#comment-16767464
 ] 

Robert Scholte commented on MCOMPILER-373:
------------------------------------------

Nice catch. I agree there should be no relation between MR Jars and modular 
jars.

> Unable to compile MR jar code against older directories
> -------------------------------------------------------
>
>                 Key: MCOMPILER-373
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-373
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.0
>            Reporter: Russell Gold
>            Priority: Major
>         Attachments: reproducer.zip
>
>
> Given a project with multiple source directories, java, java9 and java11, 
> each MR directory should compile against the previous one. In the current 
> plugin, this only happens if the MR directory contains a module-info.java 
> file.
> The attached reproducer expects toolchains to be set up for the jdk9 and 
> jdk11 compilers. It fails when trying to compile the java11 directory, as the 
> classes/META-INF/versions/9 directory is not present on its classpath.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to