okumin commented on code in PR #6592:
URL: https://github.com/apache/hive/pull/6592#discussion_r3658138374
##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyManager.java:
##########
@@ -75,14 +75,14 @@ public abstract class PropertyManager {
/** A Jexl engine for convenience. */
static final JexlEngine JEXL;
static {
- JexlFeatures features = new JexlFeatures()
+ JexlFeatures features = JexlFeatures.createDefault()
.sideEffect(false)
.sideEffectGlobal(false);
- JexlPermissions p = JexlPermissions.RESTRICTED
- .compose("org.apache.hadoop.hive.metastore.properties.*");
+ JexlPermissions permissions = JexlPermissions.RESTRICTED
+ .compose("org.apache.hadoop.hive.metastore.properties.*",
"com.google.gson.internal.*");
Review Comment:
```suggestion
.compose("org.apache.hadoop.hive.metastore.properties.*",
"com.google.gson.internal.*");
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]