[ https://issues.apache.org/jira/browse/MCOMPILER-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17650988#comment-17650988 ]
Piotr Zygielo commented on MCOMPILER-513: ----------------------------------------- May I ask to have it assigned to release (probably [https://issues.apache.org/jira/projects/MCOMPILER/versions/12351444)] and closed, please? > Error cross-compiling (JDK 18+ to release 17-) source with lint warnings > ------------------------------------------------------------------------ > > Key: MCOMPILER-513 > URL: https://issues.apache.org/jira/browse/MCOMPILER-513 > Project: Maven Compiler Plugin > Issue Type: Bug > Affects Versions: 3.10.1 > Reporter: Piotr Zygielo > Priority: Major > > {code:java} > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2.865 s > [INFO] Finished at: 2022-11-30T16:32:53Z > [INFO] > ------------------------------------------------------------------------ > Error: Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile > (default-compile) on project mcp-OOS-bad-class: Fatal error compiling: bad > class file: /BCDEFGH/java.base/java/io/ObjectOutputStream.sig > Error: unable to access file: java.nio.file.ClosedFileSystemException > {code} > This sounds a bit like MCOMPILER-450 (for the > {{{}ClosedFileSystemException{}}}), but there is no reproducer there so it's > hard to tell. The comment suggests to me that it's not related, b/c the bug > described here needs no modules. > Reproducer for the case: [https://github.com/pzrep/mcp-OOS-bad-class] > The key change, that _fixes_ this is > [https://github.com/codehaus-plexus/plexus-compiler/pull/204]. > PC in MCOMPILER was updated in > - [https://github.com/apache/maven-compiler-plugin/pull/122] > - [https://github.com/apache/maven-compiler-plugin/pull/139] > but with no JIRA reference. PR 122 can be selected as _fixed in_ then. > Yes, it's fixed already, but I'm reporting this for inclusion in RN. > Workaround until new MCOMPILER release: override plexus-compiler dependencies > to at least 2.12.0. -- This message was sent by Atlassian Jira (v8.20.10#820010)