You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2006/07/04 05:40:29 UTC

[jira] Created: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

[classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
-------------------------------------------------------------------------------------------------------------------

         Key: HARMONY-737
         URL: http://issues.apache.org/jira/browse/HARMONY-737
     Project: Harmony
        Type: Bug

    Reporter: Vladimir Ivanov


The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.

======================= test.java ==============================
import java.security.cert.X509CRLSelector;
import java.util.*;

public class test  {
    public static void main (String[] args) {  
	try {    
            new X509CRLSelector().setIssuerNames(new testSortedSet());
	    System.out.println("passed: no ex");
	} catch (Exception e) {
	    System.out.println("failed: " + e);
	}

    } 
}

class testSortedSet implements SortedSet {
    public Comparator comparator() {
	return null;
    }
    public Object first() {
	return null;
    }
    public SortedSet headSet(Object p0) {
	return null;
    }
    public Object last() {
	return null;
    }
    public SortedSet subSet(Object p0, Object p1) {
	return null;
    }
    public SortedSet tailSet(Object p0) {
	return null;
    }
    public boolean add(Object p0) {
	return false;
    }
    public boolean addAll(Collection p0) {
	return false;
    }
    public void clear() {
	return;
    }
    public boolean contains(Object p0) {
	return false;
    }
    public boolean containsAll(Collection p0) {
	return false;
    }
    public boolean equals(Object p0) {
	return false;
    }
    public int hashCode() {
	return 0;
    }
    public boolean isEmpty() {
	return false;
    }
    public Iterator iterator() {
	return null;
    }
    public boolean remove(Object p0) {
	return false;
    }
    public boolean removeAll(Collection p0) {
	return false;
    }
    public boolean retainAll(Collection p0) {
	return false;
    }
    public int size() {
	return 0;
    }
    public Object[] toArray() {
	return null;
    }
    public Object[] toArray(Object[] p0) {
	return null;
    }
}
====================================================

Output:
C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
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))

passed: no ex

C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
java version 1.5 (subset)

(c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
failed: java.lang.NullPointerException


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


[jira] Updated: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-737?page=all ]

Vladimir Ivanov updated HARMONY-737:
------------------------------------

    Attachment: X509CRLSelectorTest1.patch

unit test

> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov
>  Attachments: X509CRLSelectorTest1.patch
>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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


[jira] Commented: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-737?page=comments#action_12420070 ] 

Vladimir Ivanov commented on HARMONY-737:
-----------------------------------------

verified, thanks

> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov
>     Assignee: Mikhail Loenko
>  Attachments: X509CRLSelectorTest1.patch, harmony-737.patch.txt
>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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


[jira] Assigned: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-737?page=all ]

Mikhail Loenko reassigned HARMONY-737:
--------------------------------------

    Assign To: Mikhail Loenko

> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov
>     Assignee: Mikhail Loenko
>  Attachments: X509CRLSelectorTest1.patch, harmony-737.patch.txt
>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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


[jira] Commented: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-737?page=comments#action_12419043 ] 

Vladimir Ivanov commented on HARMONY-737:
-----------------------------------------

The support class can be reduced to:
class testSortedSet extends TreeSet {
    public Iterator iterator() {
	return null;
    }
}


> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov

>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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


[jira] Updated: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Alexander Kleymenov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-737?page=all ]

Alexander Kleymenov updated HARMONY-737:
----------------------------------------

    Attachment: harmony-737.patch.txt

Checking for size of collection helped to resolve this issue. Attached patch contains the fix for X509CRLSelector class. To avoid the conflicts, this patch should be applied after the patch for HARMONY-736.

> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov
>  Attachments: X509CRLSelectorTest1.patch, harmony-737.patch.txt
>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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


[jira] Resolved: (HARMONY-737) [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);

Posted by "Mikhail Loenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-737?page=all ]
     
Mikhail Loenko resolved HARMONY-737:
------------------------------------

    Resolution: Fixed

fixed in revision 420440
Vladimir please check that it fully resolves the problem

> [classlib][security] unexpected NPE for java.security.cert.X509CRLSelector.setIssuerNames(user_defined_collection);
> -------------------------------------------------------------------------------------------------------------------
>
>          Key: HARMONY-737
>          URL: http://issues.apache.org/jira/browse/HARMONY-737
>      Project: Harmony
>         Type: Bug

>     Reporter: Vladimir Ivanov
>     Assignee: Mikhail Loenko
>  Attachments: X509CRLSelectorTest1.patch, harmony-737.patch.txt
>
> The Harmony method java.security.cert.X509CRLSelector.setIssuerNames(Collection) throws unexpected NPE while RI does not.
> ======================= test.java ==============================
> import java.security.cert.X509CRLSelector;
> import java.util.*;
> public class test  {
>     public static void main (String[] args) {  
> 	try {    
>             new X509CRLSelector().setIssuerNames(new testSortedSet());
> 	    System.out.println("passed: no ex");
> 	} catch (Exception e) {
> 	    System.out.println("failed: " + e);
> 	}
>     } 
> }
> class testSortedSet implements SortedSet {
>     public Comparator comparator() {
> 	return null;
>     }
>     public Object first() {
> 	return null;
>     }
>     public SortedSet headSet(Object p0) {
> 	return null;
>     }
>     public Object last() {
> 	return null;
>     }
>     public SortedSet subSet(Object p0, Object p1) {
> 	return null;
>     }
>     public SortedSet tailSet(Object p0) {
> 	return null;
>     }
>     public boolean add(Object p0) {
> 	return false;
>     }
>     public boolean addAll(Collection p0) {
> 	return false;
>     }
>     public void clear() {
> 	return;
>     }
>     public boolean contains(Object p0) {
> 	return false;
>     }
>     public boolean containsAll(Collection p0) {
> 	return false;
>     }
>     public boolean equals(Object p0) {
> 	return false;
>     }
>     public int hashCode() {
> 	return 0;
>     }
>     public boolean isEmpty() {
> 	return false;
>     }
>     public Iterator iterator() {
> 	return null;
>     }
>     public boolean remove(Object p0) {
> 	return false;
>     }
>     public boolean removeAll(Collection p0) {
> 	return false;
>     }
>     public boolean retainAll(Collection p0) {
> 	return false;
>     }
>     public int size() {
> 	return 0;
>     }
>     public Object[] toArray() {
> 	return null;
>     }
>     public Object[] toArray(Object[] p0) {
> 	return null;
>     }
> }
> ====================================================
> Output:
> C:\tmp\tmp17>C:\jrockit-jdk1.5.0-windows-ia32\bin\java.exe -showversion test
> 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))
> passed: no ex
> C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
> java version 1.5 (subset)
> (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> failed: java.lang.NullPointerException

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