RFR: 8080272 Refactor I/O stream copying to use java.io.InputStream.transferTo [v8]
    Weijun Wang 
    weijun at openjdk.java.net
       
    Mon Feb  8 14:42:44 UTC 2021
    
    
  
On Mon, 21 Dec 2020 09:16:11 GMT, Andrey Turbanov <github.com+741251+turbanoff at 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
    
    
More information about the compiler-dev
mailing list