harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-3340) [jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test fails with "Invalid fieldsCount"
Date Sat, 24 Mar 2007 05:40:32 GMT

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

Stepan Mishura reassigned HARMONY-3340:
---------------------------------------

    Assignee: Stepan Mishura

> [jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test
fails with "Invalid fieldsCount"
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3340
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3340
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/ia32, Linux/ia32, Harmony-jdk-r515478
>            Reporter: Ivan Popov
>         Assigned To: Stepan Mishura
>         Attachments: fix_test.patch
>
>
> The following JDWP unit test
>   org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test
> fails on both Windows and Linux platforms with the same diagnostics: 
>  VirtualMachine.ClassesBySignature: classes=1 refTypeTag=1 classID= 1000000392 status=7
>  ReferenceType.Methods: declared=8
>   methodID=43567384 name=&lt;clinit> signature=()V modBits=8
>   methodID=43567540 name=&lt;init> signature=()V modBits=1
>   methodID=43567696 name=testMethod1 signature=(Z)I modBits=1
>   methodID=43567852 name=testMethod2 signature=(Z)I modBits=9
>   methodID=43568008 name=testMethod3 signature=(I[I[[ILjava/lang/String;[Ljava/lang/String;[[Ljava/lang/String;Lorg/apache/harmony/jpda/tests/jdwp/share/debuggee/testClass;[Lorg/apache/harmony/jpda/tests/jdwp/share/debuggee/testClass;[[Lorg/apache/harmony/jpda/tests/jdwp/share/debuggee/testClass;)Ljava/lang/String;
modBits=9
>   methodID=43568164 name=execMethod signature=()V modBits=0
>   methodID=43568320 name=run signature=()V modBits=1
>   methodID=43568476 name=main signature=([Ljava/lang/String;)V modBits=9
>  EventRequest.Set: requestID=1
> [SYNC] Message sent: continue
> STDOUT> [SYNC] Received message: continue
>  EVENT_THREAD event: suspendPolicy=2 events=1
>   EVENT_THREAD event 0: eventKind=40 requestID=1 threadID=1764
> Read values of fields to pass them as arguments:
> <...>
> junit.framework.AssertionFailedError: Invalid fieldsCount=9, must be > 9 
> at org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test.testInvokeMethod004(InvokeMethod002Test.java:190)

> 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.ClassType.InvokeMethod002Test
> 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.ClassType.InvokeMethod002Test

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