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 2025/11/01 17:08:00 UTC

[jira] [Comment Edited] (OFBIZ-13306) Upgrade java version to 21

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

Jacques Le Roux edited comment on OFBIZ-13306 at 11/1/25 5:07 PM:
------------------------------------------------------------------

[^lossy-conversions-int-long.patch], this patch fixes few lossy-conversions warnings (int to long) but one that is at least difficult, maybe impossible. It's about overriding [https://javadoc.io/static/junit/junit/3.8.2/junit/framework/Test.html#countTestCases(]) and concerns EntityXmlAssertTest::countTestCases. Anyway I guess more than 2 147 483 647 occurrences seems improbable.

After that only 7 warnings remain.


was (Author: jacques.le.roux):
 [^lossy-conversions-int-long.patch], this patch fixes few lossy-conversions warnings (int to long) but one that is at least difficult, maybe impossible. It's about overriding https://javadoc.io/static/junit/junit/3.8.2/junit/framework/Test.html#countTestCases() and concerns EntityXmlAssertTest::countTestCases. Anyway I guess more than 2 147 483 647 occurrences seems improbable.


> 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
>
>
> Upgrade java to version 21 to keep the framework up to date.



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