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

StringBuilder and StringBuffer should implement Appendable explicitly

XMLWordPrintable

    • b17
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      As mentioned in JDK-8304060, it is confusing that all public supertypes of StringBuilder and StringBuffer do not implement Appendable, but these classes do actually implement the interface since their non-public and undocumented superclass AbstractStringBuilder does. I think we should add Appendable to the `implements` clauses of StringBuilder and StringBuffer explicitly. This won't be a breaking change.


            darcy Joe Darcy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: