RFR: 8279647: JFR: Unclosed directory stream
    Erik Gahlin 
    egahlin at openjdk.java.net
       
    Sat Jan  8 12:37:50 UTC 2022
    
    
  
Hi,
Could I have a review of a fix that closes the directory stream that is used when fetching the predefined .jfc files. I also added a sanity check so it is a file (not a directory).
Testing: jdk/jdk/jfr
Thanks
Erik
-------------
Commit messages:
 - Check directory using SecuritySupport
 - Initial
Changes: https://git.openjdk.java.net/jdk/pull/6999/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6999&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8279647
  Stats: 9 lines in 1 file changed: 0 ins; 3 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6999.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6999/head:pull/6999
PR: https://git.openjdk.java.net/jdk/pull/6999
    
    
More information about the hotspot-jfr-dev
mailing list