[kaffe] Bug report: Null WeakReference

Laurent Martelli laurent at aopsys.com
Thu Apr 14 08:19:54 PDT 2005


The following class raises a NullPointerException with Kaffe because
of the null passed to the WeakReference constructor. It should not.

public class NullWeakRef {
    public static void main(String[] args) {
        new java.lang.ref.WeakReference(null);
    }
}


-- 
Laurent Martelli
laurent at aopsys.com                                Java Aspect Components
http://www.aopsys.com/                          http://jac.objectweb.org





More information about the kaffe mailing list