I just saw that SnakeYaml provides a "CustomClassLoaderConstructor". Could
you please check on that.

See:
http://stackoverflow.com/questions/4940379/using-snakeyaml-under-osgi/4944346#4944346


On Thu, May 19, 2016 at 1:31 PM, Isuru Perera <[email protected]> wrote:

> Thanks for info.
>
> Shall we ask the snakeyaml developers to add the Dynamic-Import header.
> May be we can create an issue [1]. Otherwise, that library is not useful in
> an OSGi container, right?
>
> [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new&status=open
>
> On Thu, May 5, 2016 at 7:25 AM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>> This is because we had to add Dynamic-Import header to this bundle, which
>> is missing in the original bundle, as snakeyaml was loading classes
>> dynamically when trying to build and construct the bean object for the
>> configuration.
>>
>> On Wed, May 4, 2016 at 12:16 PM, Isuru Perera <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> $subject [1]. See manifest entries in latest JARs [2]
>>>
>>> [1] https://github.com/wso2/orbit/tree/master/snakeyaml/1.16.0.wso2v1
>>> [2]
>>> http://search.maven.org/#search|gav|1|g%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22
>>> <http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.yaml%22%20AND%20a%3A%22snakeyaml%22>
>>>
>>> --
>>> Isuru Perera
>>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>> Contact: +IsuruPereraWSO2
>>> <https://www.google.com/+IsuruPereraWSO2/about>
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> <http://kishanthan.wordpress.com>*
>> Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
>>
>
>
>
> --
> Isuru Perera
> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
> Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
>



-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
Contact: +IsuruPereraWSO2 <https://www.google.com/+IsuruPereraWSO2/about>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to