Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2337

ClassFileTransformer modifies bytecode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 2.2.0, 2.2.1
    • None
    • Enhance
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: