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

Istvan Toth commented on PHOENIX-7418:
--------------------------------------

Reverting the "-Djava.security.manager=allow" cli option in execute_query.sh 
fixes the tests on Jenkins.

I still don't know why I cannot reproduce the problem locally, and what exactly 
Not adding that option is not a good solution, as it would make the 
BackwardComaptibility tests fail with recent JDKs.


> SystemExitRule errors out because of SecurityManager deprecation / removal 
> ---------------------------------------------------------------------------
>
>                 Key: PHOENIX-7418
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7418
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core, test
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Critical
>             Fix For: 5.3.0, 5.1.4, 5.2.2
>
>
> I have recently tried building Phoenix with Java 21, and tests have failed 
> with a SecurityManager deprecation error.
> We only refer SecurityManager in SystemExitRule and TestSecurityManager.
> For the short term, we may have to simply re-enable SecurityManager in our 
> tests JVMs, as our dependencies may have similar unsolved issues with Java 21.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to