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

Axel Howind commented on PDFBOX-5669:
-------------------------------------

Added another three patches that change the call sites.

> replace custom code with new JDK 11 functionality
> -------------------------------------------------
>
>                 Key: PDFBOX-5669
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5669
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Axel Howind
>            Priority: Minor
>         Attachments: 
> Refactor_methods_in_IOUtils_to_use_JDK_11_built-in_methods.patch, 
> inline_IOUtils_copy().patch, inline_IOUtils_populateBuffer().patch, 
> inline_IOUtils_toByteArray().patch
>
>
> PDFBox 4 uses JDK 11 as baseline. This makes it possible to take advantage of 
> new functionality introduced in JDK versions 9 - 11.
> To start, methods in IOUtils can be simplified or replaced directly by calls 
> to equivalent JDK methods. I am going to provide patches/pull requests linked 
> to this ticket.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to