[OpenJDK 2D-Dev] RFR: 6211257: BasicStroke.createStrokedShape(Shape): NPE is not specified [v4]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Feb 8 11:55:09 UTC 2021


> Method createStrokedShape(Shape) for java.awt.BasicStroke class throws NullPointerException when passed a null object reference for a input parameter but it's not specified in the spec.
> Updated spec to illustrate this.

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

  Remove redundant return statement

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2377/files
  - new: https://git.openjdk.java.net/jdk/pull/2377/files/d65b8e0a..bdc97f6a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2377&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2377&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2377.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2377/head:pull/2377

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


More information about the 2d-dev mailing list