Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17090 invoked from network); 24 Mar 2007 05:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2007 05:40:53 -0000 Received: (qmail 38521 invoked by uid 500); 24 Mar 2007 05:41:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 38422 invoked by uid 500); 24 Mar 2007 05:41:01 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 38411 invoked by uid 99); 24 Mar 2007 05:41:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 22:41:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 22:40:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C191714058 for ; Fri, 23 Mar 2007 22:40:32 -0700 (PDT) Message-ID: <31765757.1174714832504.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 22:40:32 -0700 (PDT) From: "Stepan Mishura (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3340) [jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ClassType.InvokeMethod002Test fails with "Invalid fieldsCount" In-Reply-To: <18568271.1173437364309.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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=<clinit> signature=()V modBits=8 > methodID=43567540 name=<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.