JDK-8361715 : (bf) Improve java/nio/Buffer/GetChars.java and migrate to JUnit
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2025-07-09
  • Updated: 2025-08-21
  • Resolved: 2025-07-28
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.
JDK 26
26 b09Fixed
Related Reports
Cloners :  
Relates :  
Relates :  
Description
Address the test improvement comments at https://github.com/openjdk/jdk/pull/26104#discussion_r2182361518 and https://github.com/openjdk/jdk/pull/26104#discussion_r2190061803.

1) All the test methods should be tested [in] all char buffer implementations.
2) [A] more generic CharBufferAsCharSequenceTest test which covers the entirety of the CharSequence interface on the various CharBuffer implementations in various "states" (position, offset, limit, etc.)

Comments
Changeset: 08b0b346 Branch: master Author: Brett Okken <brett.okken@oracle.com> Committer: Chen Liang <liach@openjdk.org> Date: 2025-07-28 13:05:33 +0000 URL: https://git.openjdk.org/jdk/commit/08b0b34623e1e67fbc6078675a72ce9b3b126996
28-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26282 Date: 2025-07-13 23:56:28 +0000
14-07-2025