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

java.net.URI: constructor URI(String) succeed, URI(7 parameters) fails

XMLWordPrintable

    • b63
    • generic
    • generic

      see attached mini-test.
      output is:

      URI7() failed: Illegal character in hostname at index 18: scheme://userInfo@:5555/home/root?a=b#ABC
      URI1() succeed: 'scheme://userInfo@:5555/home/root?a=b#ABC'

      Note that URIs are equal.

            yuwangsunw Yujiang Wang (Inactive)
            itseytin Igor Tseytin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: