[
https://issues.apache.org/jira/browse/OPENJPA-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Curtis updated OPENJPA-2171:
---------------------------------
Attachment: kernel.patch
Hey Mark, re your previous commit... I know Tomee uses the xbean dependency,
but that isn't true for all users of OpenJPA (ie: WebSphere). Could we do
something smarter where we have a compile time dependency on plain asm AND
xbean-asm... then at runtime we can load whichever implementation is available?
I'm thinking something along the lines of this patch.
> asm should be optional
> ----------------------
>
> Key: OPENJPA-2171
> URL: https://issues.apache.org/jira/browse/OPENJPA-2171
> Project: OpenJPA
> Issue Type: Improvement
> Reporter: Romain Manni-Bucau
> Assignee: Mark Struberg
> Labels: 2.3.0-candidate
> Fix For: 2.3.0
>
> Attachments: ASM.patch, kernel.patch
>
>
> openjpa uses since some versions asm but in tomee for instance we use a shade
> (through the xbean one org.apache.xbean:xbean-asm-shaded to avoid
> classloading/version issues with webapps/applications.
> it can be nice if openjpa can provide us an issue to this because we really
> don't want to provide asm in our binaries.
> solutions can be to use the xbean shade, give us an interface to implement or
> to try several implementation (xbean shade, asm,...) by reflection
--
This message was sent by Atlassian JIRA
(v6.1#6144)