[
https://issues.apache.org/jira/browse/PDFBOX-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761453#comment-17761453
]
ASF subversion and git services commented on PDFBOX-5669:
---------------------------------------------------------
Commit 1912052 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1912052 ]
PDFBOX-5669: 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: [email protected]
For additional commands, e-mail: [email protected]