RFR: 6201035: Undefined behavior of MatteBorder Ctors [v4]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Oct 28 03:42:05 UTC 2022


> The behavior of MatteBorder constructors taking Insets object as a parameter is undocumented. It would throw NPE if null object is passed to it, which should be documented in the spec.

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Review fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10740/files
  - new: https://git.openjdk.org/jdk/pull/10740/files/389c7c4c..391bf7f3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10740&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10740&range=02-03

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/10740.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10740/head:pull/10740

PR: https://git.openjdk.org/jdk/pull/10740



More information about the client-libs-dev mailing list