While running the testcases of Hibernate-5.2.8 on x86, I am facing some errors related to mockito framework.
I am using IBM java 8
the error log is as below
java.lang.instrument ASSERTION FAILED
"jvmtierror == JVMTI_ERROR_NOT_AVAILABLE" at JPLISAgent.c line: 1009
org.hibernate.engine.jdbc.cursor.internal.StandardRefCursorSupportTest > testSupportsRefCursorsAboveJava8 FAILED
java.lang.IllegalStateException at StandardRefCursorSupportTest.java:34
Caused by: java.lang.IllegalStateException at StandardRefCursorSupportTest.java:34
Caused by: org.mockito.exceptions.base.MockitoInitializationException at StandardRefCursorSupportTest.java:34
Caused by: java.lang.IllegalStateException at StandardRefCursorSupportTest.java:34
Working on linux X86