JDK-8357286 : (bf) Remove obsolete instanceof checks in CharBuffer.append
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 25
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2025-05-20
  • Updated: 2025-05-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
Given that CharSequence.getChars now exists, there is no reason in the general case to continue to check inside the CharBuffer.append methods whether a CharSequence is a String, StringBuffer, or StringBuilder.