harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vera Petrashkova (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4310) Test vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml is incorrect
Date Mon, 02 Jul 2007 10:59:04 GMT
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