This code in CropImageFilter is suspicious:

public void setDimensions(int width, int height)
{
   if (consumer != null)
      consumer.setDimensions(this.width, this.height);
}

It is causing ArrayIndexOutOfBounds exceptions because it is overriding the
dimensions set by the consumer to potentially smaller dimensions.

-- 
           Summary: CropImageFilter setting wrong dimensions
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fitzsim at redhat dot com
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23700


_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath

Reply via email to