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

Bryce McKinlay bmckinlay@gmail.com
Fri Aug 12 16:22:00 GMT 2011


On Fri, Aug 12, 2011 at 8:27 AM, Jie Liu <lj8175@gmail.com> wrote:

> The method length() is not a final method, as java/lang/String.java line 447:
>
>  public int length()
>  {
>    return count;
>  }
>
> Is this the problem?

As String is a final class, all its methods are implicitly final.

Bryce



More information about the Java-patches mailing list