You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2007/03/27 11:52:32 UTC
[jira] Closed: (HARMONY-3317) [drlvm]jvmti]
GetFieldDeclaringClass() returns error for field declared in superclass
[ https://issues.apache.org/jira/browse/HARMONY-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Popov closed HARMONY-3317.
-------------------------------
Thanks, Gregory. I verified with Harmony-jdk-r522770. Now this JVMTI function works well, but the test still fail on Linux because of similar problem with other JVMTI function. I submitted HARMONY-3505.
Closing this issue.
> [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.