You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2007/10/17 10:17:50 UTC

[jira] Closed: (HARMONY-1271) Writing '\n' to LogStream produces stack overflow

     [ https://issues.apache.org/jira/browse/HARMONY-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess closed HARMONY-1271.
---------------------------------


No response.  Assuming it is okay.

> Writing '\n' to LogStream produces stack overflow
> -------------------------------------------------
>
>                 Key: HARMONY-1271
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1271
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Petrenko
>            Assignee: Mark Hindess
>         Attachments: HARMONY-1271.diff
>
>
> The following test case fails on Harmony with stack overflow.
> import java.rmi.server.*; 
> import java.io.*; 
> public class HarmonyLogStreamTest { 
>     public static void main(String [] args) { 
>         try { 
>             LogStream ls = LogStream.log("tst"); 
>             System.out.println(ls); 
>             ls.write((int)'\n'); 
>             System.out.println("Test passed"); 
>         } catch (Throwable e) { 
>             System.out.println("unexpected error: " + e); 
>            //e.printStackTrace(); 
>         } 
>     } 
> } 

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