harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1271) Writing '\n' to LogStream produces stack overflow
Date Wed, 17 Oct 2007 08:17:50 GMT

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


Mime
View raw message