openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2337) ClassFileTransformer modifies bytecode
Date Wed, 20 Feb 2013 22:59:12 GMT


Kevin Sutter commented on OPENJPA-2337:

But, if you got that far into ManagedClassSubclasser, then you must have openjpa.RuntimeUnhancedClasses
set to Supported or Warn, and that is not a recommended practice [1].

> ClassFileTransformer modifies bytecode
> --------------------------------------
>                 Key: OPENJPA-2337
>                 URL:
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance
>    Affects Versions: 2.2.0, 2.2.1
>            Reporter: Romain Manni-Bucau
>            Priority: Blocker
> When using the JPA ClassFileTransformer from a javaagent the expected workflow is to
simply convert in memory original class byte[] to an enhanced byte[].
> However since the code is shared with ant task, mvn plugin and main() enhancer it also
updates the file physically.
> That's a pain for load time weaving.
> Could it be skipped when using the ClassFileTransformer?
> sounds like a bug for me, wdyt?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message