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

URL constructor throws java.lang.StringIndexOutOfBoundsException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 1.3.1_06
    • Fix Version/s: 1.3.1_10
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      10
    • CPU:
      generic, x86
    • OS:
      generic, windows_2000
    • Verification:
      Verified

      Backports

        Description



        Name: rmT116609 Date: 12/04/2000


        java version "1.3.0"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
        Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)

        The URL constructor throws a java.lang.StringIndexOutOfBoundsException given the
        following URL:
          http://www.javasoft.com/jdc/community/chat/index.html#javalive?frontpage-jdc

        It can be tested with the following code:

        public class Test
        {
          public static void
          main(String[] args) throws Exception
          {
            System.out.println(new java.net.URL(args[0]).toString());
          }
        }
        (Review ID: 112994)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                michaelm Michael McMahon
                Reporter:
                rmandalasunw Ranjith Mandala (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: