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

to_string operation incorrectly stringfied a Name with empty kind field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • merlin
    • sparc
    • solaris_1

      As per specification if a Name component has a non-empty id field and an empty kind field, the stringfied representation consists only of the id field. A trailing '.' character is not permitted. to_string operation generates a stringified name with a trailing . if the kind is empty.

      test 0001 of To_stringTest demonstrate this

      to run these tests:

      1. untar ins-bugs.tar available from /java/idl/ws/rip/temp/ins-bugs.tar
      2. go to ins-bugs/org/omg/CosNaming/NamingContextExt/To_stringTest directory
      3. make appropriate changes in the "To be changed" section
      4. run by typing "make all"

            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: