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.

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

Commit messages:
 - 6211257: BasicStroke.createStrokedShape(Shape): NPE is not specified
 - 6211257: BasicStroke.createStrokedShape(Shape): NPE is not specified

Changes: https://git.openjdk.java.net/jdk/pull/2377/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2377&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-6211257
  Stats: 47 lines in 2 files changed: 47 ins; 0 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

Reply via email to