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

Roy Teeuwen commented on GROOVY-10881:
--------------------------------------

[~nicolas.dutertry] I will try this out but I'm not sure if this will be 
sufficient. SpiFly is an Apache Aries module that is not available out of the 
box everywhere if I'm not mistaken. 

> FastStringUtils does not work in an OSGi environment
> ----------------------------------------------------
>
>                 Key: GROOVY-10881
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10881
>             Project: Groovy
>          Issue Type: Bug
>          Components: JSON
>            Reporter: Roy Teeuwen
>            Priority: Major
>         Attachments: groovy-json-example.zip
>
>
> Using the FastStringUtils does not work in an OSGi environment. The 
> FastStringUtils will be called by the classloader of another bundle, making 
> the code at 
> https://github.com/apache/groovy/blob/master/subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/FastStringUtils.java#L39
>  not find the default service loader. 
> To counter this, I'd like to propose to at least fall back to the 
> DefaultFastStringService when no FastStringServiceFactory is found 
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to