This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Jie> But it does not work as we want, is there something wrong?
>
> Did you rebuild all of libgcj?

Yes. :)
>
> If you did, then I don't know, you'll have to debug it, sorry.
>
> I vaguely recollect that -fcheck-references adds a check for 'this' at
> the start of final methods. ?If I'm misremembering, then that is
> probably the problem.
>
The method length() is not a final method, as java/lang/String.java line 447:

  public int length()
  {
    return count;
  }

Is this the problem?

Thanks,
Jie
> Tom
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]