Skip to content
Permalink
Browse files
8263514: Minor issue in JavacFileManager.SortFiles.REVERSE
Reviewed-by: vromero
  • Loading branch information
shipilev committed Mar 15, 2021
1 parent 771b146 commit 5ab5244814bd1933bc07840c65f53753a51bcd3a
@@ -123,7 +123,7 @@ public int compare(Path f1, Path f2) {
REVERSE {
@Override
public int compare(Path f1, Path f2) {
return -f1.getFileName().compareTo(f2.getFileName());
return f2.getFileName().compareTo(f1.getFileName());
}
}
}

1 comment on commit 5ab5244

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 5ab5244 Mar 15, 2021

Please sign in to comment.