3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-14 19:25:51 +00:00

DRMWorkaround: Skip workaround on OpenJDK.

This commit is contained in:
Andreas Schildbach 2019-01-02 16:56:35 +01:00
parent 74b642844d
commit 828036cb4a

View File

@ -39,7 +39,7 @@ public class DRMWorkaround {
if (done) return;
done = true;
if (Utils.isAndroidRuntime())
if (Utils.isAndroidRuntime() || Utils.isOpenJDKRuntime())
return;
try {
Field gate = Class.forName("javax.crypto.JceSecurity").getDeclaredField("isRestricted");