Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-835

Commons configuration 2.9.0 not compatible with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.10.0
    • Build
    • None

    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:

      112: invokevirtual #21                 // Method java/nio/ByteBuffer.flip:()Ljava/nio/ByteBuffer;

      Attachments

        Activity

          People

            Unassigned Unassigned
            stijnv Stijn Vranckx
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: