JDK-8264539 : Improve failure message of java/nio/file/WatchService/SensitivityModifier.java
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2021-03-31
  • Updated: 2024-08-29
  • Resolved: 2021-04-02
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
11.0.25-oracleFixed 17 b17Fixed
Description
The failure message observed in the parent issue does not convey much information. Specifically there is nothing about the sensitivity setting for the parent directory of the file for which there was a failure. It would be useful to add this information. For example, if the failure is always at LOW sensitivity, then some adjustment in the test might be necessary. This might indicate the failure arises from slowness in the polling implementation on macOS.
Comments
https://github.com/openjdk/jdk/commit/3991b329b1132be7ce360c495e3f14055f1e3eeb
20-08-2024

Changeset: 3991b329 Author: Brian Burkhalter <bpb@openjdk.org> Date: 2021-04-02 19:53:18 +0000 URL: https://git.openjdk.java.net/jdk/commit/3991b329
02-04-2021