JDK-8313674 : (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 11,17,21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-08-03
  • Updated: 2024-08-20
  • Resolved: 2024-05-14
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 11 JDK 17 JDK 21 JDK 23
11.0.25-oracleFixed 17.0.13-oracleFixed 21.0.5-oracleFixed 23 b23Fixed
Related Reports
Relates :  
Relates :  
Description
JDK-8054029 added a test for block device sizes, which tests `/dev/sda`. There is a high chance that modern computers moved to NVMe, and so the "default" device name would be e.g. `/dev/nvme0n1` or some such.

The test needs to poll more devices trying to find the block device on the system.
Comments
[jdk17u-fix-request] Approval Request from Amos "Backporting for parity with 17.0.13-oracle. No risk, test fix. Un-Clean backport. Test passes and SAP nightlies pass on 2024-08-07”
16-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2756 Date: 2024-07-31 21:59:40 +0000
31-07-2024

[jdk21u-fix-request] Approval Request from Amos "Backporting for parity with 21.0.5-oracle. No risk, test fix. Clean backport. SAP nightlies pass on 2024-06-21”
20-06-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u-dev/pull/749 Date: 2024-06-19 02:03:27 +0000
19-06-2024

Changeset: e91492ab Author: Inigo Mediavilla Saiz <imediava@gmail.com> Committer: Brian Burkhalter <bpb@openjdk.org> Date: 2024-05-14 16:04:34 +0000 URL: https://git.openjdk.org/jdk/commit/e91492ab4333c61f39b50eb428fa932131a5b908
14-05-2024

There is a PR open by Inigo Mediavilla Saiz.
13-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19021 Date: 2024-04-30 13:21:36 +0000
30-04-2024