Skip to content

Commit

Permalink
8263514: Minor issue in JavacFileManager.SortFiles.REVERSE
Browse files Browse the repository at this point in the history
Reviewed-by: vromero
  • Loading branch information
shipilev committed Mar 15, 2021
1 parent 771b146 commit 5ab5244
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -123,7 +123,7 @@ public int compare(Path f1, Path f2) {
REVERSE { REVERSE {
@Override @Override
public int compare(Path f1, Path f2) { public int compare(Path f1, Path f2) {
return -f1.getFileName().compareTo(f2.getFileName()); return f2.getFileName().compareTo(f1.getFileName());
} }
} }
} }
Expand Down

1 comment on commit 5ab5244

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.