harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2740) [drlvm][kernel] System.err.println() doesn't lock console
Date Fri, 15 Dec 2006 11:29:24 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2740?page=all ]

Roman S. Bushmanov updated HARMONY-2740:
----------------------------------------

    Attachment: PrintTest.java
                run.sh

> [drlvm][kernel] System.err.println() doesn't lock console
> ---------------------------------------------------------
>
>                 Key: HARMONY-2740
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2740
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Roman S. Bushmanov
>            Priority: Minor
>         Attachments: PrintTest.java, run.sh
>
>
> System.err.print() doesn't lock the console and this output can be interrupted at any
time by other thread or process.
> To reproduce this issue compile and run the attached PrintTest.java test and run it on
DRLVM in two separate processes which share the same console. Use a shell script like attached
run.sh
> DRLVM output looks like 
> <...>111111111111111111111111111111111111121122212121212121212121212121212121212111111111111111111111111111111111111111121
> 21212122221212121212121212121212121111121212122212121212121212121212121212121111121222121212121212121212121212121212121112122222121212121212121212121212121211112121222121212121212121212121212121212111121222121212121212121212<...>
> but expected to be like
> <...>1111111111111111111122222222222222222222111111111111111111112222222222222222222211111111111111111111222222222222222222221111111111111111111122222222222222222222111111111111111111112222222222222222222211111111111111111111222222222222222222221111111111111111111122222222222222222222111111111111111111112222222222222222222211111111111111111111<...>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message