[OpenJDK 2D-Dev] RFR: 6606673: Path2D.Double, Path2D.Float and GeneralPath ctors throw exception when initialCapacity is negative
Sergey Bylokhov
serb at openjdk.java.net
Thu Jan 21 02:38:14 UTC 2021
The specification for Path2D.Double, Path2D.Float and GeneralPath constructors is updated. NegativeArraySizeException, IllegalArgumentException and NullPointerException are added.
-------------
Commit messages:
- Initial fix
Changes: https://git.openjdk.java.net/jdk/pull/2174/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2174&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-6606673
Stats: 218 lines in 4 files changed: 218 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/2174.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2174/head:pull/2174
PR: https://git.openjdk.java.net/jdk/pull/2174
More information about the 2d-dev
mailing list