-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b165
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8178773 | 10 | Stuart Marks | P3 | Resolved | Fixed | b05 |
This method spec says "In the foregoing description, the notation sgn(expression)...." However, the use of sgn() follows that sentence. "Foregoing" means "preceding" so this is wrong.
The Comparable.compareTo() method spec has very similar wording, but the definition of sgn() follows its usage. The wording of these method specs should be adjusted so they're correct and consistent with each other.
The Comparable.compareTo() method spec has very similar wording, but the definition of sgn() follows its usage. The wording of these method specs should be adjusted so they're correct and consistent with each other.
- backported by
-
JDK-8178773 Wrong wording in Comparator.compare() method spec
-
- Resolved
-