> Sonar reports a finding in args.c, where a file check is done . > Stat performs a check on file, and later fopen is called on the file . > > The coding could be slightly rewritten so that the potential issue is removed > (however I do not think that it is such a big issue).
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision: Replace reportAndExit ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2692/files - new: https://git.openjdk.java.net/jdk/pull/2692/files/39faea43..2da97d61 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2692&range=04 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2692&range=03-04 Stats: 9 lines in 1 file changed: 2 ins; 5 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/2692.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2692/head:pull/2692 PR: https://git.openjdk.java.net/jdk/pull/2692