src/share/classes/java/lang/Long.java

Print this page

        

@@ -759,11 +759,11 @@
      *
      * @return  a string representation of the value of this object in
      *          base 10.
      */
     public String toString() {
-        return String.valueOf(value);
+        return toString(value);
     }
 
     /**
      * Returns a hash code for this {@code Long}. The result is
      * the exclusive OR of the two halves of the primitive