8382167: Warning message should be displayed only when UseAESCTRIntrinsics is explicitly enabled by the user

Reviewed-by: sviswanathan, kvn
This commit is contained in:
Ashutosh Mehra 2026-04-14 19:39:32 +00:00
parent 44c484c150
commit bf68776ebc

View File

@ -1187,7 +1187,7 @@ void VM_Version::get_processor_features() {
}
if (!UseAESIntrinsics) {
if (UseAESCTRIntrinsics) {
if (FLAG_IS_DEFAULT(UseAESCTRIntrinsics)) {
if (!FLAG_IS_DEFAULT(UseAESCTRIntrinsics)) {
warning("AES-CTR intrinsics require UseAESIntrinsics flag to be enabled. Intrinsics will be disabled.");
}
FLAG_SET_DEFAULT(UseAESCTRIntrinsics, false);