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 2006/08/25 10:16:23 UTC

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

     [ http://issues.apache.org/jira/browse/HARMONY-1271?page=all ]

Mark Hindess resolved HARMONY-1271.
-----------------------------------

    Resolution: Fixed

Thanks Alexey.  Fixed in r436711.  Please check this has been applied as expected and resolves this issue.


> 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
>         Assigned To: 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.
-
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

        

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

Posted by Alexey Petrenko <al...@gmail.com>.
Thanks :)

2006/8/25, Mark Hindess <ma...@googlemail.com>:
>
> On 25 August 2006 at 13:05, "Alexey Petrenko" <al...@gmail.com>
> wrote:
> > Mark,
> >
> > can you please commit the fix for
> > http://issues.apache.org/jira/browse/HARMONY-994.
> > It is very close issue for this one.
>
> Yeah, I noticed.  I'm just doing it. ;-)
>
> And I'll add the one-line for the regression test of 1271.
>
> -Mark.
>
> > Thanks in advance.
> >
> > SY, Alexey
> >
> > 2006/8/25, Mark Hindess (JIRA) <ji...@apache.org>:
> > >     [ http://issues.apache.org/jira/browse/HARMONY-1271?page=all ]
> > >
> > > Mark Hindess resolved HARMONY-1271.
> > > -----------------------------------
> > >
> > >    Resolution: Fixed
> > >
> > > Thanks Alexey.  Fixed in r436711.  Please check this has been applied as ex
> > pected and resolves this issue.
> > >
> > >
> > > > 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
> > > >         Assigned To: 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.
> > > -
> > > If you think it was sent incorrectly contact one of the administrators: htt
> > p://issues.apache.org/jira/secure/Administrators.jspa
> > > -
> > > For more information on JIRA, see: http://www.atlassian.com/software/jira
> > >
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


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

Posted by Mark Hindess <ma...@googlemail.com>.
On 25 August 2006 at 13:05, "Alexey Petrenko" <al...@gmail.com>
wrote:
> Mark,
> 
> can you please commit the fix for
> http://issues.apache.org/jira/browse/HARMONY-994.
> It is very close issue for this one.

Yeah, I noticed.  I'm just doing it. ;-)

And I'll add the one-line for the regression test of 1271.

-Mark.

> Thanks in advance.
> 
> SY, Alexey
> 
> 2006/8/25, Mark Hindess (JIRA) <ji...@apache.org>:
> >     [ http://issues.apache.org/jira/browse/HARMONY-1271?page=all ]
> >
> > Mark Hindess resolved HARMONY-1271.
> > -----------------------------------
> >
> >    Resolution: Fixed
> >
> > Thanks Alexey.  Fixed in r436711.  Please check this has been applied as ex
> pected and resolves this issue.
> >
> >
> > > 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
> > >         Assigned To: 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.
> > -
> > If you think it was sent incorrectly contact one of the administrators: htt
> p://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see: http://www.atlassian.com/software/jira
> >
> >
> >
> 
> 
> -- 
> Alexey A. Petrenko
> Intel Middleware Products Division
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


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

Posted by Alexey Petrenko <al...@gmail.com>.
Mark,

can you please commit the fix for
http://issues.apache.org/jira/browse/HARMONY-994.
It is very close issue for this one.

Thanks in advance.

SY, Alexey

2006/8/25, Mark Hindess (JIRA) <ji...@apache.org>:
>     [ http://issues.apache.org/jira/browse/HARMONY-1271?page=all ]
>
> Mark Hindess resolved HARMONY-1271.
> -----------------------------------
>
>    Resolution: Fixed
>
> Thanks Alexey.  Fixed in r436711.  Please check this has been applied as expected and resolves this issue.
>
>
> > 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
> >         Assigned To: 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.
> -
> 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
>
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org