You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2023/04/06 09:57:00 UTC
[jira] [Comment Edited] (GROOVY-11000) Unable to load FastStringService in OSGI Environment in Groovy-all: 3.0.11 version
[ https://issues.apache.org/jira/browse/GROOVY-11000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709319#comment-17709319 ]
Paul King edited comment on GROOVY-11000 at 4/6/23 9:56 AM:
------------------------------------------------------------
The issue fixed for Groovy 4, GROOVY-10881, isn't applicable to Groovy 3. It seems that the Groovy 3.0.11 jar has the required OSGi information:
{code:java}
Require-Capability: osgi.extender;filter:="(osgi.extender=osgi.service
loader.registrar)",osgi.extender;filter:="(osgi.extender=osgi.service
loader.processor)",osgi.serviceloader;filter:="(osgi.serviceloader=or
g.apache.groovy.json.FastStringServiceFactory)";cardinality:=multiple
,osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Provide-Capability: osgi.serviceloader;osgi.serviceloader="org.apache.
groovy.json.FastStringServiceFactory"
Bundle-Version: 3.0.11
{code}
Perhaps something else is causing the problem?
was (Author: paulk):
The issue fixed for Groovy 4, GROOVY-10881, isn't applicable to Groovy 3. It seems that the Groovy 3.0.11 jar has the required OSGi information:
{code:java}
Require-Capability: osgi.extender;filter:="(osgi.extender=osgi.service
loader.registrar)",osgi.extender;filter:="(osgi.extender=osgi.service
loader.processor)",osgi.serviceloader;filter:="(osgi.serviceloader=or
g.apache.groovy.json.FastStringServiceFactory)";cardinality:=multiple
,osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
Provide-Capability: osgi.serviceloader;osgi.serviceloader="*org.apache.
groovy.json.FastStringServiceFactory*"
Bundle-Version: 3.0.11
{code}
Perhaps something else is causing the problem?
> Unable to load FastStringService in OSGI Environment in Groovy-all: 3.0.11 version
> ----------------------------------------------------------------------------------
>
> Key: GROOVY-11000
> URL: https://issues.apache.org/jira/browse/GROOVY-11000
> Project: Groovy
> Issue Type: Bug
> Environment: Production
> Reporter: neha
> Priority: Major
> Fix For: 3.0.11
>
> Attachments: groovyissue.PNG
>
>
> After upgrading to 3.0.11, getting attached error in OSGI environment while running a groovy script.
> Its seems same issue has been fixed in 4.0.9 groovy version. (https://issues.apache.org/jira/browse/GROOVY-10881)
> We are using grails and latest grails version also supports groovy - 3.0.11 version. So, we can't upgrade groovy to latest version.
> We need a patch on top of 3.0.11 groovy version.
> Please provide
--
This message was sent by Atlassian Jira
(v8.20.10#820010)