On Mon, 21 Dec 2020 09:16:11 GMT, Andrey Turbanov 
<github.com+741251+turban...@openjdk.org> wrote:

>> 8080272  Refactor I/O stream copying to use java.io.InputStream.transferTo
>
> Andrey Turbanov has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8080272: Refactor I/O stream copying to use java.io.InputStream.transferTo
>   revert changes in Apache Santuario

The other security-related code changes look good to me.

src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/Utils.java line 
49:

> 47:         throws IOException
> 48:     {
> 49:         return is.readAllBytes();

This is also from Apache Santuario. It's better to keep it unchanged.

-------------

PR: https://git.openjdk.java.net/jdk/pull/1853

Reply via email to