Skip to content

Commit

Permalink
Fix bug Nico found randomly
Browse files Browse the repository at this point in the history
cherry-pick f90e6bf
  • Loading branch information
ThexXTURBOXx authored and pxb1988 committed Oct 3, 2023
1 parent 476e64c commit cc9861b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public int compareTo(EncodedValue o) {
case VALUE_METHOD_HANDLE:
case VALUE_METHOD_TYPE:
if (value instanceof Comparable) {
return ((Comparable) value).compareTo(value);
return ((Comparable) value).compareTo(o.value);
} else {
throw new RuntimeException();
}
Expand Down

0 comments on commit cc9861b

Please sign in to comment.