maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surender (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-342) Unsupported class file major version 55
Date Wed, 03 Oct 2018 13:21:00 GMT

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

Surender commented on MCOMPILER-342:
------------------------------------

As per my investigation , It is an issue with maven-plugin-plugin which is still using asm
version 6.1.1. 

if we changed the asm version from 6.1.1 to 6.2, getting UnsupportedOperationException exception.

 

 

> 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
>            Assignee: Robert Scholte
>            Priority: Blocker
>             Fix For: 3.8.0
>
>         Attachments: log.txt, plugin_issue.zip
>
>
> 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)

Mime
View raw message