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

java.lang.NegativeArraySizeException w/ ImageRotaion applet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.0
    • client-libs
    • None
    • 2d
    • x86, sparc
    • generic, solaris_2.6

      java.lang.NegativeArraySizeException w/ ImageRotaion applet on Solaris2.6 and WinNT

      Steps to reproduce:
      1) set up your environment variables to point the the "K" build.
      2) run the ImageRotation applet located at:
         /home/lichtenw/JavaMedia/2d/tests/applets/ImageRotation
      3) resize the applet window to about double its size
      4) click on the window to start the rotation

      Results:
      java.lang.NegativeArraySizeException
              at java.awt.image.Raster.createPackedRaster(Compiled Code)
              at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code)
              at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.convertFrom(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.performBinaryComposite(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Compiled Code)
              at sun.java2d.loops.RasterOutputManager.copyArea(Compiled Code)
              at sun.java2d.SunGraphics2D.copyArea(Compiled Code)
              at RotateApplet2.rotate(Compiled Code)
              at RotateApplet2.run(Compiled Code)
              at java.lang.Thread.run(Compiled Code)

            tnguyensunw Thanh Nguyen (Inactive)
            emedinasunw Eve Medina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: