[PATCH] [JAVA] Double.parseDouble(null) throw NullPointerException

Tom Tromey tromey@redhat.com
Sun Aug 14 13:04:00 GMT 2011


>>>>> "Jie" == Jie Liu <lj8175@gmail.com> writes:

Jie> In my debug, there appears no check for 'this' at start of String.length():

Yeah, I looked for uses of flag_check_references and didn't see one when
building a method's body.  So I guess I mis-remembered this.

In any case, the spot you found is just the tip of the problem.  Any
method call in any of the C++ code could potentially have the same
issue.

Tom



More information about the Java-patches mailing list