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

URI(scheme,ssp,fragment) the values passed should be same get Methods

XMLWordPrintable

    • sparc
    • solaris_8

      URI u1= new URI(scheme,ssp,fragment);
      then
      scheme.equals(u1.getScheme()) = true
      ssp.equals(u1.getSchemespecificPart()) = true
      fragment.equals(u1.getFragment()) =true

      but is is not heppening



      URI("http:","etet","etette");

      Scheme =http
      SchemeSpecificPart =:etet
      Fragment =etette
      Authority =null
      Path =null
      Port =-1
      Host =null
      Query =null
      UserInfo =null
      URI is absolute
      URI is Opaque
      URI is http::etet#etette

            alanb Alan Bateman
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: