[
https://issues.jboss.org/browse/JBTM-2440?page=com.atlassian.jira.plugin....
]
Michael Musgrove commented on JBTM-2440:
----------------------------------------
I do recall - we disable the tests because byteman is known not to work with the IBM J9
compiler. So the fix is just to go back to not running the tests on J9 and figure out how
to make byteman work with J9 as an optional task.
Disable byteman tests when running with the IBM JVM
---------------------------------------------------
Key: JBTM-2440
URL:
https://issues.jboss.org/browse/JBTM-2440
Project: JBoss Transaction Manager
Issue Type: Task
Components: Testing
Affects Versions: 5.1.1
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Priority: Optional
Fix For: 5.next
Byteman instrumentation does not work with the IBM J9 JVM:- it fails with errors like the
following:
{code}
*** java.lang.instrument ASSERTION FAILED ***: "jvmtierror ==
JVMTI_ERROR_NOT_AVAILABLE" at JPLISAgent.c line: 1009
Exception in thread "Attachment 59984" Agent failed to start!
JVMJ9TI064E Agent initialization function Agent_OnAttach failed for library instrument,
return code 102
{code}
I will implement a workaround by disabling byteman when testing with this JVM.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)