You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/12/03 09:56:00 UTC

[jira] [Commented] (OFBIZ-13189) CLONE - Fix Java 17 warning issues

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

Jacques Le Roux commented on OFBIZ-13189:
-----------------------------------------

So we have 3 warnings, 2 related to Log4j, 1 to AccessController

# An explanation (solution?) for the "BaselineIgnore not found" log4j issue seems to be here
https://github.com/apache/logging-log4j2/issues/3110
# For log4j rawContextData it should be replace by getValue(java.lang.String): https://logging.apache.org/log4j/2.x/javadoc/log4j-core/org/apache/logging/log4j/core/ContextDataInjector.html
# AccessController is handled by OFBIZ-12865, the ultimate date is 2029 or 2030 with Java 21 (see OFBIZ-12865)

> CLONE - Fix Java 17 warning issues
> ----------------------------------
>
>                 Key: OFBIZ-13189
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13189
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/base, framework/security
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> Gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.24.2\daf49ee71f2664c3ff57412e4b43061e61a28596\log4j-api-2.24.2.jar(/org/apache/logging/log4j/Level.class): warning: Cannot find annotation method 'value()' in type
>  'BaselineIgnore': class file for aQute.bnd.annotation.baseline.BaselineIgnore not found
> C:\projectsASF\Git\ofbiz-framework\framework\base\src\main\java\org\apache\ofbiz\base\log4j\OFBizDynamicThresholdFilter.java:153: warning: [deprecation] rawContextData() in ContextDataInjector has been deprecated
>         return injector.rawContextData();
>                        ^
> C:\projectsASF\Git\ofbiz-framework\framework\common\src\main\java\org\apache\ofbiz\common\authentication\AuthHelper.java:132: warning: [removal] AccessController in java.security has been deprecated and marked for removal
>         return AccessController.doPrivileged(



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