[
https://issues.apache.org/jira/browse/AVRO-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-987:
------------------------------
Attachment: AVRO-987.patch
Here's an updated version of this patch that applies to current trunk. I
renamed things a bit, since really we needed a replacement for Class.forName,
not ClassLoader.loadClass, which does not handle arrays.
I know little about OSGI or Felix. Does this incompatibly alter the jar files
generated by 'mvn package'? If not then I'm +1 for committing this.
> Make Avro OSGi ready
> --------------------
>
> Key: AVRO-987
> URL: https://issues.apache.org/jira/browse/AVRO-987
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Ioannis Canellos
> Fix For: 1.7.6
>
> Attachments: AVRO-987-1_6_3-patch.txt, AVRO-987-patch-updated.txt,
> AVRO-987-patch.txt, AVRO-987.patch
>
>
> It would be really nice to be able to use Avro inside OSGi. To achieve this
> two things are required:
> i) Provide proper MANIFEST.MF.
> ii) Deal with potential class loading issues. Avro uses Class.forName a lot
> and that is not very OSGi friendly.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)