JDK-7142847 : TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java has incorrect @run tag, runs Basic
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-05
  • Updated: 2012-06-20
  • Resolved: 2012-05-09
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.
7u6Fixed 8 b27Fixed
Related Reports
Relates :  
The tag for jtreg is not correct in this test:

/* @test
 * @bug 4313887
 * @summary Sanity test for Sun-specific sensitivyt level watch event modifier
 * @library ..
 * @run main/timeout=330 Basic

It should @run SensitivityModifier.java. Also there is a typo in the @summary comment.

EVALUATION In addition to fixing the @run tag then Basic.java should also be changed to use nanoTimes when measuring the duration of the poll method.