openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <>
Subject [jira] [Updated] (OPENJPA-2171) asm should be optional
Date Thu, 10 Oct 2013 13:37:49 GMT


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:
>             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
> 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

View raw message