harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1106) [classlib][io] java.io.SequenceInputStream(InputStream, null) throws unexpected NPE
Date Wed, 20 Sep 2006 03:26:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1106?page=comments#action_12436098 ] 
            
Tony Wu commented on HARMONY-1106:
----------------------------------

It is no longer an issue in latest version (r448046)

> [classlib][io] java.io.SequenceInputStream(InputStream, null) throws unexpected NPE
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-1106
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1106
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Igor V. Stolyarov
>         Attachments: Harmony-1106.patch
>
>
> [classlib][io] java.io.SequenceInputStream(InputStream, null) throws unexpected NPE
> Test-------------------------------------------------------------------------------------------------------------
> import java.io.*;
> public class Test {
>     public static void main(String[] args) { 
>         try{
>             ByteArrayInputStream bais = new ByteArrayInputStream(new byte[256]);
>             SequenceInputStream sis = new SequenceInputStream(bais, null);
>             System.out.println("new SequenceInputStream()="+sis);
>         }catch (Exception unexpectedException){
>             unexpectedException.printStackTrace();
>         }
>     } 
> }
> Output----------------------------------------------------------------------------------------------------------
> JRockit
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
> BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC:
>  System optimized over throughput (initial strategy singleparpar))
> new SequenceInputStream()=java.io.SequenceInputStream@1b3d48
> Harmony
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as app
> licable.
> java.lang.NullPointerException
>         at java.io.SequenceInputStream.<init>(SequenceInputStream.java:57)
>         at DateTest.main(DateTest.java:22)

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