OpenJPA
  1. OpenJPA
  2. OPENJPA-1780

Javaagent enhancement behaves differently than Attach API results

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0, 2.1.1, 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: Enhance, integration
    • Labels:
      None

      Description

      Originally reported as GERONIMO-5553.
      The following scenarios were verified by Jeremy Bauer -
      1) When the Javaagent is used with a list of classes, only the provided list will get enhanced.
      2( When the Javaagent is used without a list of classes, ALL classes will get enhanced.
      3) When the dynamic enhancer via attach api is used with a list of classes, the provided list AND any discovered classes are enhanced (unless <exclude-unlisted-classes> is specified.)
      4) When the dynamic enhancer via attach api is used without a list of classes, ALL classes will get enhanced.

      So, the Javaagent is case #1 is behaving differently than case #3, which is what this JIRA should address.

        Issue Links

          Activity

          Donald Woods created issue -
          Donald Woods made changes -
          Field Original Value New Value
          Link This issue is related to GERONIMO-5553 [ GERONIMO-5553 ]
          Donald Woods made changes -
          Link This issue relates to GERONIMO-5553 [ GERONIMO-5553 ]
          Donald Woods made changes -
          Link This issue blocks OPENJPA-1786 [ OPENJPA-1786 ]
          Michael Dick made changes -
          Fix Version/s 2.2.0 [ 12315910 ]
          Fix Version/s 2.1.0 [ 12314542 ]
          Hide
          Albert Lee added a comment -

          Move fix version to 2.3.0 in preparation for 2.2.0 release.

          Show
          Albert Lee added a comment - Move fix version to 2.3.0 in preparation for 2.2.0 release.
          Albert Lee made changes -
          Fix Version/s 2.3.0 [ 12319463 ]
          Fix Version/s 2.2.0 [ 12315910 ]
          Affects Version/s 2.1.1 [ 12316191 ]
          Affects Version/s 2.2.0 [ 12315910 ]
          Mark Struberg made changes -
          Fix Version/s 2.4.0 [ 12325298 ]
          Fix Version/s 2.3.0 [ 12319463 ]

            People

            • Assignee:
              Donald Woods
              Reporter:
              Donald Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development