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

Segment.current can throw ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • sparc
    • solaris_7

      import java.awt.*;
      import java.awt.event.*;
      import javax.swing.text.*;

      public class Test {
          public static void main(String args[]) {
              Segment seg = new Segment();
              seg.array = new char[1];
              seg.count = 1;
              seg.first();
              seg.next();
              seg.current();
          }
      }

            svioletsunw Scott Violet (Inactive)
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: