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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.5
    • Component/s: 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: