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

In getChars(), if srcBegin > srcEnd, IndexOutOfBoundsException is not thrown.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.5
    • core-libs
    • x86
    • windows_nt



      Name: diC59631 Date: 04/06/98


      About getChars() method, according to JLS 20.13.11,
      if srcBegin > srcEnd, an IndexOutOfBoundsException is thrown and
      the destination is not modified.

      However, java VM(JDK1.1.5) on WinNT does not throw the exception.
      Is this JDK bug ?

      Please clarify the relation between JLS and JDK.
      (Review ID: 27879)
      ======================================================================

            wmaddoxsunw William Maddox (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: