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] Updated: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading
Date Tue, 03 Jul 2007 12:49:05 GMT

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

Ivan Popov updated HARMONY-4322:

    Attachment: stress_jdwp_tests.patch

I'm attaching patch 'stress_jdwp_tests.patch' to fix JDWP stress tests to use Class.forName()
for loading classes. With this patch tests pass against Harmony M2 build.

> [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading
> -------------------------------------------------------------------------------------------
>                 Key: HARMONY-4322
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4322
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Windows/x86, Linux/x86
>            Reporter: Ivan Popov
>         Attachments: stress_jdwp_tests.patch
> The following JDWP stress tests
>   org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE003.RefTypeTest003
>   org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE004.RefTypeTest004
> are sensitive to class loading and may fail with different JVM. These tests usually pass
with Sun and JRockit JVM and fail with Harmony.
> The tests expects that some classes are loaded only after instance of each class is created.
However, JVM may load class before first instance is created. Right way is to use Class.forName()
to load tested classes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message