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

JNDI/COS provider should not restrict URL in reference to name a context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • core-libs
    • None
    • kestrel
    • sparc
    • solaris_2.6
    • Verified

      If you pass a Reference containing an iiop URL to getObjectInstance(),
      this fails because the JNDI/COS naming's URL context factory only
      allows the URL to point to a context. When you pass in a URL that
      points to a nonContext, you get a ClassCastException.

      There is no reason for the restriction. getObjectInstance() should
      just return the object named by the URL.

            rleesunw Rosanna Lee (Inactive)
            rleesunw Rosanna Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: