Madhan Neethiraj created RANGER-4000:
----------------------------------------
Summary: unit test failure in JDK17
Key: RANGER-4000
URL: https://issues.apache.org/jira/browse/RANGER-4000
Project: Ranger
Issue Type: Bug
Components: plugins
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Following expression in test_policyengine_geo.json fails with JDK17 (script
engine from org.graalvm.js):
{code:java}
(!!country_code_format_long && !!country_code_format_dot &&
(country_code_format_long == country_code_format_dot)){code}
This expression should be updated with:
{noformat}
(country_code_format_long != null && country_code_format_dot != null &&
(country_code_format_long == country_code_format_dot)) {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)