You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Stepan Mishura (JIRA)" <ji...@apache.org> on 2007/03/27 12:05:34 UTC

[jira] Resolved: (HARMONY-3304) [jdktools][jpda] JDWP tests for method invocation fails with error <110(OUT_OF_MEMORY)>

     [ https://issues.apache.org/jira/browse/HARMONY-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stepan Mishura resolved HARMONY-3304.
-------------------------------------

    Resolution: Fixed

Thanks Ivan, the patch was applied to JDKTOOLS at r522851.

Please check that the patch was applied as you expected.

> [jdktools][jpda] JDWP tests for method invocation fails with error <110(OUT_OF_MEMORY)>
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3304
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3304
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/ia32, Linux/ia32, Harmony-jdk-r514598
>            Reporter: Ivan Popov
>         Assigned To: Stepan Mishura
>         Attachments: fix_jni_exception_check.patch
>
>
> The following JDWP unit tests for method invocation:
>   org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethodTest
>   org.apache.harmony.jpda.tests.jdwp.ClassType.NewInstanceTest
>   org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest
> fails in execution of the corresponding JDWP command with the same diagnostics:
> junit.framework.AssertionFailedError: ObjectReference::InvokeMethod command, Error Code:<110(OUT_OF_MEMORY)> at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.printErrorAndFail(JDWPTestCase.java:729) at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.checkReplyPacket(JDWPTestCase.java:638) at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.checkReplyPacket(JDWPTestCase.java) at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.checkReplyPacket(JDWPTestCase.java:539) at org.apache.harmony.jpda.tests.jdwp.share.JDWPTestCase.checkReplyPacket(JDWPTestCase.java) at org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest.testInvokeMethod001(InvokeMethodTest.java:247) at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> To reproduce this failure:
> 1. create Harmony JDK with federated build:
>     svn checkout https://svn.apache.org/repos/asf/harmony/enhanced/trunk
>     cd trunk
>     ant
> 2. goto jdktools directory, add junit to classpath, and run particular test:
>     cd working_jdktools
>     export CLASSPATH=<...>/trunk/common_resources/depends/jars/junit_3.8.2/junit.jar
>     ant test -Dbuild.module=jpda -Dtest.case=org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest
>  
> 3. see results in <...>/trunk/working_jdktools/build/test_report/html/index.html
> It is possible also to run test directly from command line:
>    cd working_jdktools
>    deploy/jdk/bin/java -classpath ../common_resources/depends/jars/junit_3.8.2/junit.jar:build/tests/classes \
>    org.apache.harmony.jpda.tests.jdwp.ObjectReference.InvokeMethodTest 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.