You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Danny Trunk (Jira)" <ji...@apache.org> on 2023/06/22 11:32:00 UTC

[jira] [Commented] (OFBIZ-12722) Fix Java 17 two warning issues

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

Danny Trunk commented on OFBIZ-12722:
-------------------------------------

The now deprecated AccessController got introduced with [https://github.com/apache/ofbiz-framework/commit/2220cb2419b24b495c62cd4ec405303903492249]

 

Is it possible to just revert it or would that have a negative performance impact?

> Fix Java 17 two warning issues
> ------------------------------
>
>                 Key: OFBIZ-12722
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12722
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: base, testtools
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> AuthHelper.java:132: warning: [removal] AccessController in java.security has been deprecated and marked for removal
>         return AccessController.doPrivileged(
>                ^
> GroovyScriptTestCase.java:29: warning: [deprecation] GroovyTestCase in groovy.util has been deprecated
> public class GroovyScriptTestCase extends GroovyTestCase {



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