JDK-8313674 : test/jdk/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: Open
  • Resolution: Unresolved
  • Submitted: 2023-08-03
  • Updated: 2024-05-03
Related Reports
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
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