You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (Jira)" <ji...@apache.org> on 2022/12/06 22:49:00 UTC

[jira] [Commented] (RANGER-4000) unit test failure in JDK17

    [ https://issues.apache.org/jira/browse/RANGER-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644051#comment-17644051 ] 

Abhay Kulkarni commented on RANGER-4000:
----------------------------------------

Ship it!

> 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
>            Priority: Major
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: RANGER-4000.patch
>
>
> 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)