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

URL constructor throws java.lang.StringIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1_10
    • 1.3.0, 1.3.1_06
    • core-libs
    • 10
    • generic, x86
    • generic, windows_2000
    • Verified



        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)
        ======================================================================

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: