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

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

 [^unchecked.patch] this patch fixes 2 warnings: 
[unchecked] getValue(ELContext) in ReadOnlyExpression overrides 
<T>getValue(ELContext) in jakarta.el.ValueExpression

Remains 5 warning, actually 2 new ones the others being already reported in 
OFBIZ-13189

Here they are:
> Task :compileJava
Z:\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\base\src\main\java\org\apache\ofbiz\base\util\string\NodeELResolver.java:67:
 warning: [removal] getFeatureDescriptors(ELContext,Object) in ELResolver has 
been deprecated and marked for removal

    public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, 
Object base) {
                                       ^
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(
               ^
C:\projectsASF\Git\ofbiz-framework\framework\catalina\src\main\java\org\apache\ofbiz\catalina\container\OFBizRealm.java:54:
 warning: [deprecation] GenericPrincipal(String,String,List<String>) in 
GenericPrincipal has been deprecated
        return new GenericPrincipal(username,
               ^
5 warnings

> Upgrade java version to 21
> --------------------------
>
>                 Key: OFBIZ-13306
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13306
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS, ALL COMPONENTS, ALL PLUGINS
>    Affects Versions: Upcoming Branch
>            Reporter: Gaetan Chaboussie
>            Assignee: Jacques Le Roux
>            Priority: Major
>         Attachments: CommonEvents-OFBIZ-12018.patch, Locale.of.patch, 
> Plugins-Runtime().exec.patch, lossy-conversions-int-long.patch, 
> this-escape.patch, threadId.patch, unchecked.patch
>
>
> Upgrade java to version 21 to keep the framework up to date.



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

Reply via email to