You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2018/12/05 17:02:00 UTC

[jira] [Resolved] (OAK-7942) Fix covariant return type changes in ByteBuffer

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

Francesco Mari resolved OAK-7942.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.13

Fixed at r1848226.

> Fix covariant return type changes in ByteBuffer
> -----------------------------------------------
>
>                 Key: OAK-7942
>                 URL: https://issues.apache.org/jira/browse/OAK-7942
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: segment-tar
>            Reporter: Francesco Mari
>            Assignee: Francesco Mari
>            Priority: Major
>             Fix For: 1.10, 1.9.13
>
>         Attachments: OAK-7942-01.patch, OAK-7942-02.patch
>
>
> Many methods in {{ByteBuffer}} now return an instance of {{ByteBuffer}} instead of {{Buffer}}. This results in {{NoSuchMethodError}} when code compiled in Java 9 is executed in an older JVM. See [this|https://jira.mongodb.org/browse/JAVA-2559] and [this|https://github.com/plasma-umass/doppio/issues/497#issuecomment-334740243] for reference and proposed fixes.



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