You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Maarten Coene (Jira)" <ji...@apache.org> on 2023/07/18 16:52:00 UTC

[jira] [Commented] (CONFIGURATION-835) Commons configuration 2.9.0 not compatible with Java 8

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

Maarten Coene commented on CONFIGURATION-835:
---------------------------------------------

Also discussed on the mailing list some time ago:
https://lists.apache.org/thread/dcxpk6d3jzby8w4xmc9nm7gtkyn0bpr6


> Commons configuration 2.9.0 not compatible with Java 8
> ------------------------------------------------------
>
>                 Key: CONFIGURATION-835
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-835
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.9.0
>            Reporter: Stijn Vranckx
>            Priority: Major
>             Fix For: 2.9.0
>
>
> The jar available from [https://commons.apache.org/proper/commons-configuration/download_configuration.cgi] is not compatible with Java 8.
> It seems to have been build with Java 11 and the - release 8 option.
> And therefor I run into the problem described here: [https://www.baeldung.com/java-compiler-release-option]
> org/apache/commons/configuration2/io/FileUtils.class contains the following byte code:
> {code}112: invokevirtual #21                 // Method java/nio/ByteBuffer.flip:()Ljava/nio/ByteBuffer;{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)