harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1271) Writing '\n' to LogStream produces stack overflow
Date Thu, 24 Aug 2006 20:15:29 GMT
Writing '\n' to LogStream produces stack overflow 
--------------------------------------------------

                 Key: HARMONY-1271
                 URL: http://issues.apache.org/jira/browse/HARMONY-1271
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey Petrenko
         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.
-
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