From d18e815b94854406113344547f36358b5b5f6bb7 Mon Sep 17 00:00:00 2001 From: Koushik Thirupattur Date: Thu, 30 Oct 2025 17:24:11 +0000 Subject: [PATCH] 8368301: sun/security/util/math/intpoly compiler warnings Reviewed-by: mullan --- make/jdk/src/classes/build/tools/intpoly/FieldGen.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/jdk/src/classes/build/tools/intpoly/FieldGen.java b/make/jdk/src/classes/build/tools/intpoly/FieldGen.java index 2bf8c5c0b20..fcc45db0219 100644 --- a/make/jdk/src/classes/build/tools/intpoly/FieldGen.java +++ b/make/jdk/src/classes/build/tools/intpoly/FieldGen.java @@ -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);"); }