Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4186082

BandedSampleModel.createCompatibleSampleModel() creates incorrect SampleModel's

XMLWordPrintable

    • 2d
    • 1.3
    • generic, sparc
    • generic, solaris_2.6

      BandedSampleModel.createCompatibleSampleModel() calls
      ComponentSampleModel.orderBands() which causes the bandOffsets to be
      {0, ScanlineStride, ScanlineStride*2) instead of {0,0,0} like they should
      be. Ultimately, this causes ArrayOutOfBoundExceptions because the arrays
      have the correct number of elements and the offsets cause imaging loops
      to over run this size.

            jehung Jeannette Hung
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: