JDK-8265496: improve null check in DeflaterOutputStream/InflaterInputStream #3681
code like below will create Deflater before null check, although it's not a real mem leak, but it's better to do null check before new Deflater.
Similar issues exist in several other classes.
@Hamlin-Li This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 234 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@Hamlin-Li Since your change was applied there have been 240 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 15d4787.