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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Sun Feb 7 09:18:04 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 three additional commits since the last revision:

 - Address review comments
 - Revert "Address review comments"
   
   This reverts commit 3fff74d7563a6141d67cb18fd7c3dda731a4c752.
 - Address review comments

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

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

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

  Stats: 4 lines in 2 files changed: 0 ins; 1 del; 3 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