mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-31 20:11:23 +00:00
DRMWorkaround: Skip workaround on OpenJDK.
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user