diff --git a/pom.xml b/pom.xml
index 677aa197fe5..95adffbd09b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,7 +152,7 @@
ognlognl
- 3.1.16
+ 3.2.6compiletrue
diff --git a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java
index 64c64b5c9cc..9c1ad89dffd 100644
--- a/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java
+++ b/src/main/java/org/apache/ibatis/scripting/xmltags/OgnlCache.java
@@ -1,5 +1,5 @@
/**
- * Copyright 2009-2016 the original author or authors.
+ * Copyright 2009-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,7 @@
*/
public final class OgnlCache {
+ private static final OgnlMemberAccess MEMBER_ACCESS = new OgnlMemberAccess();
private static final Map expressionCache = new ConcurrentHashMap();
private OgnlCache() {
@@ -40,7 +41,7 @@ private OgnlCache() {
public static Object getValue(String expression, Object root) {
try {
- Map