harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6449) [classlib][instrument] 3 failures in HelloWorldTest
Date Wed, 24 Feb 2010 23:05:28 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838067#action_12838067

Oliver Deakin commented on HARMONY-6449:

It doesn't remove the lines, it just moves them later on in the same function including the
commented out FIXME. When I revert that commit I get crashes running the HelloWorld tests,
after the commit I get the ABORT messages (Element was inserted second time in MapEx!).

It looks like the error line is coming from hashtable.h in drlvm:

if (pr.second)
     return &(pr.first->second);
     DIE(( "Element was inserted second time in MapEx!"));
     return NULL; // not reachable; to satisfy compiler warning

DRLVM is returning can_redefine_any_class as 0 and we're not changing that flag in the instrument
code, so that seems ok. However, the MapEx class is only referenced from classloader code,
so it's quite likely that class redefinition is causing the problem. 

> [classlib][instrument] 3 failures in HelloWorldTest
> ---------------------------------------------------
>                 Key: HARMONY-6449
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6449
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Oliver Deakin
>             Fix For: 6.0M2, 5.0M14
> There are 3 failures in org.apache.harmony.tests.java.lang.instrument.HelloWorldTest
that fail consistently on both the java 5 and 6 streams:
> testHelloWorld - expected:<0> but was:<3> at org.apache.harmony.tests.java.lang.instrument.HelloWorldTest.testHelloWorld(HelloWorldTest.java:56)
> testMultiLineValue - expected:<0> but was:<3> at org.apache.harmony.tests.java.lang.instrument.HelloWorldTest.testMultiLineValue(HelloWorldTest.java:75)
> testInvalidMultiLineValue - AssertionFailedError: null at org.apache.harmony.tests.java.lang.instrument.HelloWorldTest.testInvalidMultiLineValue(HelloWorldTest.java:95)
> These failures have been discussed on the dev list but are not yet resolved: http://markmail.org/message/owmi365iowmracqo

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

View raw message