[
https://issues.apache.org/jira/browse/OPENJPA-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Curtis updated OPENJPA-1125:
---------------------------------
Attachment: OPENJPA-1125.patch
Changed the logic in PCEnhancerAgent so that loadDynamicAgent will return true
ONLY when the enhancer is dynamically invoked. This will ensure that the
"OpenJPA dynamically loaded the class..." message is logged appropriately.
> A message is logged about dynamically loading the class enhancer even though
> I'm using the -javaagent
> -----------------------------------------------------------------------------------------------------
>
> Key: OPENJPA-1125
> URL: https://issues.apache.org/jira/browse/OPENJPA-1125
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 2.0.0
> Reporter: Rick Curtis
> Assignee: Rick Curtis
> Fix For: 2.0.0
>
> Attachments: OPENJPA-1125.patch
>
>
> When using the -javaagent enhancer, I see a message about OpenJPA dynamically
> loading the class enhancer.
> INFO [main] openjpa.Runtime - OpenJPA dynamically loaded the class
> enhancer. Any classes that were not enhanced at build time will be enhanced
> when the are loaded by the JVM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.