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:11:00 UTC
[jira] [Created] (CONFIGURATION-835) Commons configuration 2.9.0 not compatible with Java 8
Stijn Vranckx created CONFIGURATION-835:
-------------------------------------------
Summary: 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
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:
{color:#1d1c1d}112: invokevirtual #21 // Method java/nio/ByteBuffer.flip:()Ljava/nio/ByteBuffer;{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)