Skip to content

Commit f7a4be7

Browse files
author
Hai-May Chao
committed
8288270: Tier1 build failures after JDK-8287178
Reviewed-by: weijun, jiefu
1 parent d4b473d commit f7a4be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/java.base/share/classes/sun/security/util/math/IntegerModuloP.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ default ImmutableIntegerModuloP multiplicativeInverse() {
161161
// this number must be non zero (modulo p).
162162
// 2. To flatten a 3D point to a 2D AffinePoint. This number
163163
// might be zero (infinity). However, since the infinity
164-
// is represented as (0, 0) in 2D, its OK returning 0 as
164+
// is represented as (0, 0) in 2D, it's OK returning 0 as
165165
// the inverse of 0, i.e. (1, 1, 0) == (1/0, 1/0) == (0, 0).
166166
return pow(getField().getSize().subtract(BigInteger.valueOf(2)));
167167
}

0 commit comments

Comments
 (0)