You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Roman S. Bushmanov (JIRA)" <ji...@apache.org> on 2006/12/15 12:29:24 UTC

[jira] Updated: (HARMONY-2740) [drlvm][kernel] System.err.println() doesn't lock console

     [ 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