[OpenJDK 2D-Dev] RFR: 8261200: Some code in the ICC_Profile may not close file streams properly

Sergey Bylokhov serb at openjdk.java.net
Fri Feb 5 23:56:53 UTC 2021


In a few places where we use streams the try/with/res blocks are added.

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

Commit messages:
 - Update ICC_Profile.java
 - Update ICC_Profile.java
 - Initial fix

Changes: https://git.openjdk.java.net/jdk/pull/2421/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2421&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261200
  Stats: 109 lines in 2 files changed: 84 ins; 16 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2421.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2421/head:pull/2421

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


More information about the 2d-dev mailing list