> 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: Simplify coding ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2692/files - new: https://git.openjdk.java.net/jdk/pull/2692/files/b5eeca4f..39faea43 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2692&range=03 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2692&range=02-03 Stats: 2 lines in 1 file changed: 0 ins; 0 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