You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Axel Howind (Jira)" <ji...@apache.org> on 2023/09/02 17:53:00 UTC

[jira] [Updated] (PDFBOX-5669) replace custom code with new JDK 11 functionality

     [ https://issues.apache.org/jira/browse/PDFBOX-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Axel Howind updated PDFBOX-5669:
--------------------------------
    Attachment: inline_IOUtils_copy()-1.patch

> 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
>              Labels: jdk11
>         Attachments: Refactor_methods_in_IOUtils_to_use_JDK_11_built-in_methods.patch, inline_IOUtils_copy()-1.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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org