You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a TreeSet instead of HashSet to get consistent ordering of results (#352)
Currently a HashSet is used to collect the source files, this means that
the order returned is unspecified and in the worst case even random
across machines/jvms. In some rare cases it could happen that this even
has a slight influence on the produced class files if sources are
processed in different order and therefore threat reproducible builds.
This now uses a TreeSet instead of a HashSet so the results are always
in a deterministic order using the String#compare contract.
Co-authored-by: Christoph Läubrich <[email protected]>
0 commit comments