--- a/jdk/src/solaris/classes/sun/nio/fs/LinuxWatchService.java Thu Jan 13 22:21:58 2011 -0800
+++ b/jdk/src/solaris/classes/sun/nio/fs/LinuxWatchService.java Fri Jan 28 09:28:43 2011 +0000
@@ -102,8 +102,8 @@
// watch descriptor
private volatile int wd;
- LinuxWatchKey(LinuxWatchService watcher, int ifd, int wd) {
- super(watcher);
+ LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) {
+ super(dir, watcher);
this.ifd = ifd;
this.wd = wd;
}
@@ -266,7 +266,7 @@
// ensure watch descriptor is in map
LinuxWatchKey key = wdToKey.get(wd);
if (key == null) {
- key = new LinuxWatchKey(watcher, ifd, wd);
+ key = new LinuxWatchKey(dir, watcher, ifd, wd);
wdToKey.put(wd, key);
}
return key;