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/07/03 14:42:04 UTC

[jira] Created: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

[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


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.


[jira] Closed: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Popov closed HARMONY-4322.
-------------------------------


Thanks, Vladimir. These tests work well now. Closing this issue.


> [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
>            Assignee: Vladimir Ivanov
>         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.


[jira] Assigned: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ivanov reassigned HARMONY-4322:
----------------------------------------

    Assignee: Vladimir Ivanov

> [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
>            Assignee: Vladimir Ivanov
>         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.


[jira] Updated: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ivanov resolved HARMONY-4322.
--------------------------------------

    Resolution: Fixed

Thanks Ivan. Your patch was applied at 553723. Please, verify.

> [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
>            Assignee: Vladimir Ivanov
>         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.


[jira] Updated: (HARMONY-4322) [buildtest][stress] JDWP stress tests REFTYPE003, REFTYPE004 are sensitive to class loading

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Popov updated HARMONY-4322:
--------------------------------

    Patch Info: [Patch Available]

> [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.