jenkinsci / lib-file-leak-detector

Java agent that detects file handle leak
http://file-leak-detector.kohsuke.org/
MIT License
241 stars 112 forks source link

Fix file open not dected, add FileChannel support #33

Closed adangel closed 6 years ago

adangel commented 6 years ago

This PR fixes the missed constructor interception of new FileInputStream(...). It add additionally support to detect files, that have been opened via FileChannel.open(...).