slachiewicz opened a new pull request, #1414:
URL: https://github.com/apache/maven-javadoc-plugin/pull/1414

   `JavadocUtil.copyResource` never closed the stream it copied from, and read 
it through the JVM-wide `jar:` cache, so a `resourcesArtifacts` jar stayed open 
for the rest of the build 
([JDK-8239054](https://bugs.openjdk.org/browse/JDK-8239054)): locked on 
Windows, and read stale under mvnd once the resources module is rebuilt. The 
resource is now read through an uncached connection and the stream is closed.
   
   Verified: `JavadocUtilTest.copyResourceReadsRewrittenJar` fails on master 
with `EOFException: Unexpected end of ZLIB input stream` and passes here.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to