jvmibm-jdkvisual-c++-runtime

Java JUnit JVM_EnqueueOperation() stubbed


I get this error while trying to run a JUnit Test on eclipse Oxygen Using Ibm's jdk8.

Is there any known bug in this version of jdk? How can I fix/avoid it?


Assertion failed!


Solution

  • Seems like the unit test uses PowerMock, which does not currently support IBM JDK.

    PowerMock tries to load an agent via HotSpot Attach Mechanism, but it should use J9 attach mechanism instead.

    See the following issues for details: