[ 
https://issues.apache.org/jira/browse/OPENJPA-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890032#action_12890032
 ] 

Rick Curtis commented on OPENJPA-1734:
--------------------------------------

Tested this change using the dynamic enhancer profile[1] successfully. There 
was one unexpected exception[2] that came from the jvm that I'm waiting on 
hearing back from the JVM folks on.

c:\...\openjpa-parent>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr8-20100409_01(SR8))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 
jvmwi3260sr8-20100401_55940 (JIT enabled, AOT enabled)
J9VM - 20100401_055940
JIT  - r9_20100401_15339
GC   - 20100308_AA)
JCL  - 20100408_01


[1] mvn test -P test-dynamic-enhancer,test-derby
[2] Exception in thread "Attachment 2889" 
java.lang.UnsupportedOperationException: cannot get the capability, performing 
dispose of the retransforming environment
        at com.ibm.tools.attach.javaSE.Attachment.loadAgentLibraryImpl(Native 
Method)
        at 
com.ibm.tools.attach.javaSE.Attachment.loadAgentLibrary(Attachment.java:244)
        at 
com.ibm.tools.attach.javaSE.Attachment.parseLoadAgent(Attachment.java:222)
        at com.ibm.tools.attach.javaSE.Attachment.doCommand(Attachment.java:141)
        at com.ibm.tools.attach.javaSE.Attachment.run(Attachment.java:101)

> Support the DynamicEnhnacer on IBM JDK
> --------------------------------------
>
>                 Key: OPENJPA-1734
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1734
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: Enhance
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.1.0
>
>
> OPENJPA-952 added support for an enhancer that utilized the Attach API, but 
> at that time the IBM JDK didn't support that API. As of SR6 the Attach API is 
> supported. 
> This JIRA will be used to update InstrumentationFactory and doc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to