Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1147

Byon should avoid using deprecated snakeyaml Loader class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2, 2.0.0
    • 2.0.0
    • jclouds-compute

    Description

      The byon API fails to work with newer snakeyaml versions (e.g. when newer snakeyaml dependency is introduced by other library).

      The error is following.

      java.lang.NoClassDefFoundError: org/yaml/snakeyaml/Loader
      

      The problem is, the byon uses snakeyaml version 1.11 which still contains deprecated Loader class. The functionality provided originally by the Loader is already directly in the Yaml class. The deprecated class was removed in snakeyaml 1.15. The current version is 1.17.

      I suggest to fix the problem and upgrade the dependency to the latest snakeyaml.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwart Josef Cacek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: