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

to_string operation throws an incorrect Exception for invalid Name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • merlin
    • sparc
    • solaris_8

      As per spec (ptc/99-12-03) the NamingService should throw a InValidName exception if the Name is invalid. The current implementation throws an org.omg.CORBA.BAD_PARAM exception for an InValidName

      To run these tests:

      1. Untar the ins-bugs.tar available from /java/idl/ws/rip/temp/ins-bugs.tar
      2. Go to the ins-bugs/org/omg/CosNaming/NamingContextExt/To_stringTest directory.
      3. Point the makefile to the appropriate builds by making changes in the
         "To be changed" section towards the top.
      4. Run the makefile by typing "make -s all" at the prompt. (For verbose
         output, skip the -s)

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            smanuel Sony Manuel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: