mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8368301: sun/security/util/math/intpoly compiler warnings
Reviewed-by: mullan
This commit is contained in:
parent
a2196e2060
commit
d18e815b94
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -628,7 +628,7 @@ public class FieldGen {
|
||||
result.appendLine("private static final long CARRY_ADD = 1 << "
|
||||
+ (params.getBitsPerLimb() - 1) + ";");
|
||||
if (params.getBitsPerLimb() * params.getNumLimbs() != params.getPower()) {
|
||||
result.appendLine("private static final int LIMB_MASK = -1 "
|
||||
result.appendLine("private static final long LIMB_MASK = -1L "
|
||||
+ ">>> (64 - BITS_PER_LIMB);");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user