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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17761450#comment-17761450 ] 

ASF subversion and git services commented on PDFBOX-5669:
---------------------------------------------------------

Commit 1912051 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1912051 ]

PDFBOX-5669: refactor and deprecate methods to use JDK 11 built-in methods, as suggested by Axel Howind

> 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().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