String.java (toString): Remove `final' hack.
2000-04-28 Bryce McKinlay <bryce@albatross.co.nz> * libjava/java/lang/String.java (toString): Remove `final' hack. From-SVN: r33508
This commit is contained in:
parent
2a96658aa6
commit
065ccab369
@ -1,3 +1,7 @@
|
|||||||
|
2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
|
||||||
|
|
||||||
|
* libjava/java/lang/String.java (toString): Remove `final' hack.
|
||||||
|
|
||||||
2000-04-05 Tom Tromey <tromey@cygnus.com>
|
2000-04-05 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
Runtime support for PR gcj/2:
|
Runtime support for PR gcj/2:
|
||||||
|
@ -115,9 +115,6 @@ public final class String
|
|||||||
|
|
||||||
public String toString ()
|
public String toString ()
|
||||||
{
|
{
|
||||||
// because String is final, we actually get this far on a null reference
|
|
||||||
if (this == null)
|
|
||||||
throw new NullPointerException();
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user