mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 03:35:52 +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;
|
if (done) return;
|
||||||
done = true;
|
done = true;
|
||||||
|
|
||||||
if (Utils.isAndroidRuntime())
|
if (Utils.isAndroidRuntime() || Utils.isOpenJDKRuntime())
|
||||||
return;
|
return;
|
||||||
try {
|
try {
|
||||||
Field gate = Class.forName("javax.crypto.JceSecurity").getDeclaredField("isRestricted");
|
Field gate = Class.forName("javax.crypto.JceSecurity").getDeclaredField("isRestricted");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user