harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3617) [drlvm][verifier] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed on Win x86_64 release build
Date Wed, 29 Aug 2007 17:08:37 GMT

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

Gregory Shimansky updated HARMONY-3617:
---------------------------------------

    Attachment: patch

I think I found the cause of the problem. It is in the windows specific code for preferences.
The code releases error array, and then tries to write into it. This isn't good because heap
may become corrupted. The attached patch fixes this (at least it did for me) on the test in
the bug.

Please check classlib tests and commit if they work.

> [drlvm][verifier] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
failed on Win x86_64 release build
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3617
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3617
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: winx64
>            Reporter: Vladimir Ivanov
>         Attachments: patch
>
>
> API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed
on Win x86_64 release build (r527316). Note this test passed on debug build in my env.
> --------------execution log (2 runs)--------------------
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:jet -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......
> <hang>
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:opt -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......Assertion failed at C:\cruise_hdk\cc\projects\trunk\working_vm\vm\jitrino\src\translator\java\JavaByteCodeTranslator.cpp:622

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