Failing test name: nsk/jdi/VirtualMachine/instanceCounts/instancecounts003 Test scenario: Debugee VM load 2 classes with custom class loader, remove all references to this classes and try unload its forcing garbage collection. Debugger VM call VirtualMachine.instanceCount() for classes which should be loaded in debugee VM with custom classloader until catch VMDisconnectedException. Sometimes VirtualMachine.instanceCount() throws unexpected com.sun.jdi.InternalException. Fail reproduces intermittently(~1 of 10). Test output: >>>Classes was loaded >>>Force GC Unexpected exception: com.sun.jdi.InternalException: Unexpected JDWP Error: 113 at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47) at com.sun.tools.jdi.VirtualMachineImpl.instanceCounts(VirtualMachineImpl.java:515) at UnloadClassTest.main(UnloadClassTest.java:229) Test is attached
|