Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.8.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
MCOMPILER-374 Unable to compile MR jar code against older directories when module-info.jar is present
- Open
- relates to
-
MCOMPILER-320 Allow additional class path items to be given during compilation
- Closed