[OpenJDK 2D-Dev] [9] Fix for JDK-6427331 : NullPointerException in LookupOp.filter(Raster, WritableRaster)

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Tue Aug 2 09:29:20 UTC 2016


+1. Just check other op file like Rescale, Convolve if similar problem 
exists there too.

Regards
Prasanta
On 8/2/2016 2:31 PM, Ajit Ghaisas wrote:
>
> Hi,
>
>    Bug : https://bugs.openjdk.java.net/browse/JDK-6427331
>
>    Issue : If destination raster is provided as null to  
> java.awt.image.LookupOp.filter(Raster src, WritableRaster dest),
>
>                 according to Javadoc, a new raster should be created. 
> Instead, it results in NullPointerException.
>
>    Fix : http://cr.openjdk.java.net/~aghaisas/6427331/webrev.00/ 
> <http://cr.openjdk.java.net/%7Eaghaisas/6427331/webrev.00/>
>
>    Request you to review.
>
> Regards,
>
> Ajit
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20160802/5b6e8ccf/attachment.html>


More information about the 2d-dev mailing list