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] Created: (HARMONY-3317) [jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues003Test fails with error <25(INVALID_FIELDID)>
Date Wed, 07 Mar 2007 08:26:24 GMT
[jdktools][jpda] JDWP test org.apache.harmony.jpda.tests.jdwp.ReferenceType.GetValues003Test
fails with error <25(INVALID_FIELDID)>
-----------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3317
                 URL: https://issues.apache.org/jira/browse/HARMONY-3317
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Windows/ia32, Linux/ia32, Harmony-jdk-r515478
            Reporter: Ivan Popov


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.


Mime
View raw message