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:
parent
74b642844d
commit
828036cb4a
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user