[
https://issues.apache.org/jira/browse/OFBIZ-13300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035369#comment-18035369
]
Jacques Le Roux commented on OFBIZ-13300:
-----------------------------------------
Just as a note, we get that with JDK 21:
C:\projectsASF\Git\ofbiz-framework\applications\content\src\main\java\org\apache\ofbiz\content\survey\PdfSurveyServices.java:91:
warning: [deprecation] getFields() in AcroFields has been deprecated
Map<String, Object> acroFieldMap = UtilGenerics.cast(acroFields.getFields());
^
C:\projectsASF\Git\ofbiz-framework\applications\content\src\main\java\org\apache\ofbiz\content\survey\PdfSurveyServices.java:256:
warning: [deprecation] getFields() in AcroFields has been deprecated
Map<String, Object> hm = UtilGenerics.cast(fs.getFields());
^
C:\projectsASF\Git\ofbiz-framework\applications\content\src\main\java\org\apache\ofbiz\content\survey\PdfSurveyServices.java:303:
warning: [deprecation] getFields() in AcroFields has been deprecated
Map<String, Object> map = UtilGenerics.cast(fs.getFields());
^
C:\projectsASF\Git\ofbiz-framework\applications\content\src\main\java\org\apache\ofbiz\content\survey\PdfSurveyServices.java:333:
warning: [deprecation] getFields() in AcroFields has been deprecated
Map<String, Object> map = UtilGenerics.cast(fs.getFields());
^
4 warnings
I'll have a look...
> Replace iText by librePDF
> -------------------------
>
> Key: OFBIZ-13300
> URL: https://issues.apache.org/jira/browse/OFBIZ-13300
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-13300.patch
>
>
> With OFBIZ-10455 (Put back the com.lowagie:itext license from 4.2.0 to
> 2.1.7), this library has been block in the past.
> It's not a good solution for the future due to dependencies conflict.
> I have currently this problem with jasper library that use librepdf to
> replace itext.
> I propose to replace the old library itext by librepdf
> ([https://github.com/LibrePDF/OpenPDF)] that replace natively it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)