[OpenJDK 2D-Dev] RFR: 6211242: AreaAveragingScaleFilter(int, int): IAE is not specified

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Feb 8 09:43:51 UTC 2021


Constructor AreaAveragingScaleFilter(int, int) for java.awt.image.AreaAveragingScaleFilter class throws IllegalArgumentException when 0 is passed for width,height but it's not specified in the spec.
Updated spec to illustrate this.

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

Commit messages:
 - Fix
 - Fix
 - 6211242: AreaAveragingScaleFilter(int, int): IAE is not specified

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

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


More information about the 2d-dev mailing list