You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrey (JIRA)" <ji...@apache.org> on 2019/06/15 15:30:01 UTC

[jira] [Comment Edited] (MJMOD-17) JDK10: IllegalArgument Exception

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

Andrey edited comment on MJMOD-17 at 6/15/19 3:29 PM:
------------------------------------------------------

I was able to reproduce. Caused by:
{code:java}
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 55
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:148)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:136)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:237)
at org.codehaus.plexus.languages.java.jpms.AsmModuleInfoParser.parse(AsmModuleInfoParser.java:89){code}

Upgraded asm to 7.1 fixed the issue.


was (Author: dernasherbrezon):
I was able to reproduced. Caused by:
{code:java}
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 55
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:148)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:136)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:237)
at org.codehaus.plexus.languages.java.jpms.AsmModuleInfoParser.parse(AsmModuleInfoParser.java:89){code}

Upgraded asm to 7.1 fixed the issue.

> JDK10: IllegalArgument Exception
> --------------------------------
>
>                 Key: MJMOD-17
>                 URL: https://issues.apache.org/jira/browse/MJMOD-17
>             Project: Maven JMod Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Karl Heinz Marbaise
>            Priority: Blocker
>             Fix For: 3.0.0-alpha-2
>
>
> Building a single module with JDK 10 fails with illegalArgumentException.
> Reference https://github.com/khmarbaise/simple-jdk9-maven



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