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

[jira] [Updated] (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:all-tabpanel ]

Stijn Vranckx updated CONFIGURATION-835:
----------------------------------------
    Description: 
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}

  was:
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:

{color:#1d1c1d}{code}112: invokevirtual #21                 // Method java/nio/ByteBuffer.flip:()Ljava/nio/ByteBuffer;\{code}{color}


> 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)