Segment.current can throw ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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();
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: