[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7219) OrmVersion1SupportedTest fails on IBM JDK 16 as it fails to add retransformable transformers

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Apr 5 05:48:50 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46189#comment-46189 ] 

Hardy Ferentschik commented on HHH-7219:
----------------------------------------

If I understand the linked content correctly, _Can-Retransform-Classes_ which needs to be added to the agent jar. In our cases this is Byteman. I had a look at the byteman jar and found this in the MANIFEST:

{noformat}
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 17.0-b16 (Sun Microsystems Inc.)
Implementation-Version: 1.5.2
Premain-Class: org.jboss.byteman.agent.Main
Agent-Class: org.jboss.byteman.agent.Main
Can-Redefine-Classes: true
Can-Retransform-Classes: true
{noformat}

It seems the property is already set. Btw, what's the ful stacktrace? 

> OrmVersion1SupportedTest fails on IBM JDK 16 as it fails to add retransformable transformers
> --------------------------------------------------------------------------------------------
>
>                 Key: HHH-7219
>                 URL: https://hibernate.onjira.com/browse/HHH-7219
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: annotations, testsuite
>    Affects Versions: 4.1.1
>         Environment: IBM JDK
>            Reporter: Madhumita Sadhukhan
>            Assignee: Hardy Ferentschik
>            Priority: Minor
>
> Stacktrace:
> Caused by: java.lang.UnsupportedOperationException: adding retransformable transformers is not supported in this environment
> at sun.instrument.InstrumentationImpl.addTransformer(InstrumentationImpl.java:80)
> Possible solution:
> http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14798074
> https://github.com/mchr3k/org.intrace/issues/15#issuecomment-3384718
> adding the following to the MANIFEST.MF:
> Can-Retransform-Classes: true

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list