Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4041340

Why is the toString of vector final?

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.5.1

      Description



      Name: sgC58550 Date: 03/25/97


      I would love to override the toString method of vector for my own
      classes derived from vector. Because the toString method is
      the only method I can use in String without knowning if the
      object exists -> java known itself to call toString or print null.

      So why the toString is final. I think it should be overridable for
      every subclass of class !!
      company - , email - ###@###.###
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjb Josh Bloch
                Reporter:
                sgoodsunw Sheri Good (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: