[
https://issues.apache.org/jira/browse/OFBIZ-13306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037992#comment-18037992
]
ASF subversion and git services commented on OFBIZ-13306:
---------------------------------------------------------
Commit 8e492c2163dacbbbfe8cbc5f8704b5816a603e15 in ofbiz-framework's branch
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8e492c2163 ]
Improved: getFields() in AcroFields has been deprecated (OFBIZ-13312)
After moving from lowagie to openPDF (OFBIZ-13300),
getFields() in AcroFields is deprecated.
Contrary to what I wrote in OFBIZ-13306, it's not related to
"Upgrade java version to 21"
This fixes it (present only in PdfSurveyServices class).
I have also improved pdfStamper.close() missing in 2 places
(almost fixed but OFBIZ-13300 was not backported, better to keep things simple).
In one case I added it, in the other I used try-with-ressource.
I also put a comment about openpdf:1.3.43 being the last version with
com.lowagie.text embedded that is used (only) by PdfSurveyServices class.
Also some formatting
> 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,
> OFBIZ-13306.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)