On Mon, 15 Feb 2021 12:44:28 GMT, Prasanta Sadhukhan <psadhuk...@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. > > @prrace Can you please have a look at the CSR JDK-8261426? @mrserb @prrace @jayathirthrao @aivanov-jdk @azvegint Any more comments on this? If not, can this please be approved? ------------- PR: https://git.openjdk.java.net/jdk/pull/2476