On Fri, 26 Mar 2021 19:19:10 GMT, John Neffenger <jgn...@openjdk.org> wrote:

> objectDir.listFiles().sort()

Now the interesting question is, if it is possible to change `listFiles` to 
always return deterministic output or if we have to patch an infinite number of 
callers instead. For those cases where people do not care about order, one 
could add `listUnsortedFiles` with the old behaviour. There is a small 
performance impact, but usually that is rather small (below 4%) compared to 
interacting with the filesystem and processing the files returned.

-------------

PR: https://git.openjdk.java.net/jfx/pull/99

Reply via email to