harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3304) [jdktools][jpda] JDWP tests for method invocation fails with error <110(OUT_OF_MEMORY)>
Date Mon, 26 Mar 2007 17:11:33 GMT

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

Ivan Popov updated HARMONY-3304:
--------------------------------

    Patch Info: [Patch Available]

> [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
>         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.


Mime
View raw message