jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1147) Byon should avoid using deprecated snakeyaml Loader class
Date Tue, 02 Aug 2016 13:47:20 GMT

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

ASF subversion and git services commented on JCLOUDS-1147:
----------------------------------------------------------

Commit 0616b865edcf9d082a95000cd3834fc0a6893b81 in jclouds's branch refs/heads/master from
[~kwart]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=0616b86 ]

[JCLOUDS-1147] upgrade snakeyaml version in byon and resolve removed deprecated Loader class


> Byon should avoid using deprecated snakeyaml Loader class
> ---------------------------------------------------------
>
>                 Key: JCLOUDS-1147
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1147
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 2.0.0
>            Reporter: Josef Cacek
>              Labels: byon
>
> 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.
> {code}
> java.lang.NoClassDefFoundError: org/yaml/snakeyaml/Loader
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message