You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2019/03/04 11:10:12 UTC
[ignite] branch master updated: IGNITE-11437 Start grid in remote
JVM fails in test framework if TDE is enabled (#6202)
This is an automated email from the ASF dual-hosted git repository.
nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 094bddf IGNITE-11437 Start grid in remote JVM fails in test framework if TDE is enabled (#6202)
094bddf is described below
commit 094bddf451320332e484c46972c4fb702854414d
Author: Alexey Plekhanov <33...@users.noreply.github.com>
AuthorDate: Mon Mar 4 14:10:04 2019 +0300
IGNITE-11437 Start grid in remote JVM fails in test framework if TDE is enabled (#6202)
---
.../apache/ignite/spi/encryption/keystore/KeystoreEncryptionSpi.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/encryption/keystore/KeystoreEncryptionSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/encryption/keystore/KeystoreEncryptionSpi.java
index beba015..f6b8e17 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/encryption/keystore/KeystoreEncryptionSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/encryption/keystore/KeystoreEncryptionSpi.java
@@ -132,7 +132,7 @@ public class KeystoreEncryptionSpi extends IgniteSpiAdapter implements Encryptio
protected Ignite ignite;
/** */
- private ThreadLocal<Cipher> aesWithPadding = ThreadLocal.withInitial(() -> {
+ private static final ThreadLocal<Cipher> aesWithPadding = ThreadLocal.withInitial(() -> {
try {
return Cipher.getInstance(AES_WITH_PADDING);
}
@@ -142,7 +142,7 @@ public class KeystoreEncryptionSpi extends IgniteSpiAdapter implements Encryptio
});
/** */
- private ThreadLocal<Cipher> aesWithoutPadding = ThreadLocal.withInitial(() -> {
+ private static final ThreadLocal<Cipher> aesWithoutPadding = ThreadLocal.withInitial(() -> {
try {
return Cipher.getInstance(AES_WITHOUT_PADDING);
}