Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46047 invoked from network); 26 Mar 2007 16:41:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 16:41:54 -0000 Received: (qmail 15226 invoked by uid 500); 26 Mar 2007 16:42:00 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 15205 invoked by uid 500); 26 Mar 2007 16:42:00 -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 15192 invoked by uid 99); 26 Mar 2007 16:42:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 09:42:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 26 Mar 2007 09:41:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AFAE7714071 for ; Mon, 26 Mar 2007 09:41:32 -0700 (PDT) Message-ID: <5326655.1174927292717.JavaMail.jira@brutus> Date: Mon, 26 Mar 2007 09:41:32 -0700 (PDT) From: "Eugene S. Ostrovsky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3317) [drlvm]jvmti] GetFieldDeclaringClass() returns error for field declared in superclass In-Reply-To: <10204478.1173255984395.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-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene S. Ostrovsky updated HARMONY-3317: ----------------------------------------- Attachment: H3317-Fix.patch > [drlvm]jvmti] GetFieldDeclaringClass() returns error for field declared in superclass > ------------------------------------------------------------------------------------- > > Key: HARMONY-3317 > URL: https://issues.apache.org/jira/browse/HARMONY-3317 > Project: Harmony > Issue Type: Bug > Components: DRLVM, JDK > Environment: Windows/ia32, Linux/ia32, Harmony-jdk-r515478 > Reporter: Ivan Popov > Assigned To: Gregory Shimansky > Attachments: H3317-Fix.patch, H3317-Regression-test.patch > > > The following JDWP test > org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues003Test > fails on both Windows and Linux platforms with the same diagnostics: > => CHECK ReferenceType::GetValues command for chekedClassRefTypeID, superClassCheckedFieldID... > # ERROR: ReferenceType::GetValues command, Error Code:<25(INVALID_FIELDID)> > <...> > junit.framework.AssertionFailedError: ReferenceType::GetValues command, Error Code:<25(INVALID_FIELDID)> > 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.ReferenceType.GetValues003Test.testGetValues003(GetValues003Test.java:118) > 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.ReferenceType.GetValues003Test > 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.ReferenceType.GetValues003Test -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.