United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7142847 TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java has incorrect @run tag, runs Basic
7142847 : TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java has incorrect @run tag, runs Basic

Details
Type:
Bug
Submit Date:
2012-02-05
Status:
Closed
Updated Date:
2012-06-20
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
core-libs
OS:
generic
Sub-Component:
java.nio
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
8

Related Reports
Backport:
Relates:

Sub Tasks

Description
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.

                                    

Comments
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.
                                     
2012-02-07



Hardware and Software, Engineered to Work Together