[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 6206189: Graphics2D.clip specifies incorrectly that a 'null' is a valid va
From:       Alexander Zvegintsev <azvegint () openjdk ! java ! net>
Date:       2021-02-19 12:07:39
Message-ID: 8oxY6yX1x7aQLf4kFuIU_BS37mco1CljKeCxLj0jEZA=.33642f53-6f72-415a-900d-6d4ab1a24328 () github ! com
[Download RAW message or body]

On Wed, 17 Feb 2021 15:54:22 GMT, Prasanta Sadhukhan <psadhukhan@openjdk.org> wrote:

> > The API doc for Graphics2D.clip(shape s) claims that passing a null argument \
> > would actually clear the existing clipping area, which is incorrect. This \
> > statement is applicable only to G2D.setClip() and not for the clip() method. \
> > G2D.clip() would throw a NullPointerException when it encounters a null argument. \
> >  Updated spec to rectify this.
> 
> Prasanta Sadhukhan has updated the pull request incrementally with one additional \
> commit since the last revision: 
> javadoc change

Marked as reviewed by azvegint (Reviewer).

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic