Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.5.2
-
None
-
None
-
Patch, Important
Description
Groovy modules are heavily using ServiceLoader Feature. Those capabilities are not exported for OSGi usage causing errors like:
Caused by: java.lang.RuntimeException: Unable to load FastStringService at org.apache.groovy.json.internal.FastStringUtils.getService(FastStringUtils.java:57) ~[24:groovy:2.5.2] at org.apache.groovy.json.internal.FastStringUtils.toCharArray(FastStringUtils.java:67) ~[24:groovy:2.5.2] at org.apache.groovy.json.internal.BaseJsonParser.parse(BaseJsonParser.java:112) ~[24:groovy:2.5.2] at groovy.json.JsonSlurper.parseText(JsonSlurper.java:205) ~[24:groovy:2.5.2] at groovy.json.JsonSlurper$parseText.call(Unknown Source) ~[?:?]
Have look on: https://blog.osgi.org/2013/02/javautilserviceloader-in-osgi.html
Attachments
Issue Links
- links to