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;
|
||||
done = true;
|
||||
|
||||
if (Utils.isAndroidRuntime())
|
||||
if (Utils.isAndroidRuntime() || Utils.isOpenJDKRuntime())
|
||||
return;
|
||||
try {
|
||||
Field gate = Class.forName("javax.crypto.JceSecurity").getDeclaredField("isRestricted");
|
||||
|
Reference in New Issue
Block a user