harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4310) Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect
Date Fri, 28 Dec 2007 14:04:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554767
] 

Vladimir Beliaev commented on HARMONY-4310:
-------------------------------------------

Interesting... BTW, it's better to name thius JIRA as [buildtest][vts] & make the test
name in summary a bit sho-o-o-ter, so the summary becomes readable & one who works with
VTS suite may find this JIRA over ~700 ones against Harmony.

> Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4310
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4310
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Vera Petrashkova
>
> It looks like this test was designed incompletely.
> According to J2SEJVMTI specification:
>     DataDumpRequest event sent by the VM to request the agent to dump its data. 
>     This is just a hint and the agent need not react to this event. 
>     This is useful for processing command-line signals from users. 
> DataDumpEvent never occurs and test fails on RI and on Harmony
> because there was any action to cause this event.
> See DataDumpRequest0101.cpp:
> ---------
> void JNICALL callbackException(prms_EXCPT)
> ...
> #ifdef LINUX
>     fprintf(stderr, "\tnative: kill SIGINT is %d \n", SIGINT);
>     fprintf(stderr, "\tnative: kill getpid() is %d \n", getpid());
>     fflush(stderr);
>     usleep(50000);
>     for (int i = 1 ; i <= 15; i++)
>         kill(i, getpid());
> #else
>     //TODO
> #endif
> ---------------
> This test should be redesigned or removed.

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