From 065ccab369d9e0d1cdbbfea3579f17d03eb5977f Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Fri, 28 Apr 2000 07:56:34 +0000 Subject: [PATCH] String.java (toString): Remove `final' hack. 2000-04-28 Bryce McKinlay * libjava/java/lang/String.java (toString): Remove `final' hack. From-SVN: r33508 --- libjava/ChangeLog | 4 ++++ libjava/java/lang/String.java | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e5065fa9aaa..7d18423f30a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2000-04-28 Bryce McKinlay + + * libjava/java/lang/String.java (toString): Remove `final' hack. + 2000-04-05 Tom Tromey Runtime support for PR gcj/2: diff --git a/libjava/java/lang/String.java b/libjava/java/lang/String.java index 272f3e29a4d..7ab96f49aa8 100644 --- a/libjava/java/lang/String.java +++ b/libjava/java/lang/String.java @@ -115,9 +115,6 @@ public final class String public String toString () { - // because String is final, we actually get this far on a null reference - if (this == null) - throw new NullPointerException(); return this; }