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.
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.
- csr for
-
JDK-8305408 StringBuilder and StringBuffer should implement Appendable explicitly
-
- Closed
-
- relates to
-
JDK-8304060 Undocumented types leak to javadoc output
-
- Open
-