You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2018/12/19 22:47:00 UTC

[jira] [Assigned] (MSHARED-786) jdk8 incompatibility at runtime (NoSuchMethodError)

     [ https://issues.apache.org/jira/browse/MSHARED-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) reassigned MSHARED-786:
----------------------------------------------

    Assignee: Olivier Lamy (*$^¨%`£)

> jdk8 incompatibility at runtime (NoSuchMethodError)
> ---------------------------------------------------
>
>                 Key: MSHARED-786
>                 URL: https://issues.apache.org/jira/browse/MSHARED-786
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-dependency-analyzer
>    Affects Versions: maven-dependency-analyzer-1.11.0
>            Reporter: Eric Barboni
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Using the maven-dependencies-analyzer 1.11.0 that is compiled with jdk9 lead to a error if used in jdk8:
> java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer
> ByteBuffer need to be cast at Buffer for some method.
> I'm not sure if it possible to detect that at compile time
> Others get the issue too see: https://github.com/apache/felix/pull/114/
>  



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