OSDN Git Service

2000-04-28 Bryce McKinlay <bryce@albatross.co.nz>
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 07:56:34 +0000 (07:56 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2000 07:56:34 +0000 (07:56 +0000)
* libjava/java/lang/String.java (toString): Remove `final' hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33508 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/lang/String.java

index e5065fa..7d18423 100644 (file)
@@ -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>
 
        Runtime support for PR gcj/2:
index 272f3e2..7ab96f4 100644 (file)
@@ -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;
   }