[
https://issues.apache.org/jira/browse/MCOMPILER-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475635#comment-16475635
]
Mincong Huang commented on MCOMPILER-342:
-----------------------------------------
Full trace log is uploaded, see {{log.txt}}. This is done via command lines:
{noformat}
$ git clone https://github.com/mincong-h/MCOMPILER-342.git
$ cd MCOMPILER-342
$ mvn clean compile -Dmaven.compiler.source=11 -Dmaven.compiler.target=11 -X
{noformat}
> Unsupported class file major version 55
> ---------------------------------------
>
> Key: MCOMPILER-342
> URL: https://issues.apache.org/jira/browse/MCOMPILER-342
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 3.7.0
> Reporter: Mincong Huang
> Priority: Blocker
> Attachments: log.txt
>
>
> Maven compiler plugin does not support classes created by JDK 11 (major
> version 55). If you have classes created by JDK 11 in your classpath when
> using Maven Compiler, you've the following errors:
> {quote}
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project java-examples-dev-core: Execution
> default-compile of goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile failed:
> Unsupported class file major version 55 -> [Help 1]
> {quote}
> See https://github.com/mincong-h/MCOMPILER-342 for reproduction
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)