8229848: [Graal] missing Graal intrinsics for Electronic Code Book (ECB) encryption

New intrinsics were added to Graal test

Reviewed-by: dlong
This commit is contained in:
Vladimir Kozlov 2019-08-21 18:03:50 -07:00
parent c3ef5233a6
commit a405118f90

View File

@ -415,6 +415,12 @@ public class CheckGraalIntrinsics extends GraalTest {
"jdk/internal/misc/Unsafe.writebackPreSync0()V");
}
if (isJDK14OrHigher()) {
add(toBeInvestigated,
"com/sun/crypto/provider/ElectronicCodeBook.implECBDecrypt([BII[BI)I",
"com/sun/crypto/provider/ElectronicCodeBook.implECBEncrypt([BII[BI)I");
}
if (!config.inlineNotify()) {
add(ignore, "java/lang/Object.notify()V");
}
@ -587,6 +593,10 @@ public class CheckGraalIntrinsics extends GraalTest {
return JavaVersionUtil.JAVA_SPEC >= 13;
}
private static boolean isJDK14OrHigher() {
return JavaVersionUtil.JAVA_SPEC >= 14;
}
public interface Refiner {
void refine(CheckGraalIntrinsics checker);
}