This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 233234

Summary: Allow more events from Notifier
Product: platform Reporter: Egor Ushakov <gorrus>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Egor Ushakov 2013-07-23 09:14:37 UTC
Currently Notifiers SPI have only one "notifying" method - nextEvent returning path to the changed folder (not file). With java 7 WatchService Notifier can provide more precise events like the exact modified/created/removed file path. 
It would be better to have extended SPI for such notifiers and use the information they provide in Watcher to avoid parent folders rescan on every file change.