Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4229

[classlib][jndi] Class Rdn.unescapeValue() has some failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • linux and windows
    • Patch Available
    • Moderate

    Description

      Class Rdn will fail in the following test cases, but RI will pass.

      assertEquals("te st ", Rdn.unescapeValue("te st
      "));
      assertEquals("te
      st", Rdn.unescapeValue("te\\\\st"));
      assertEquals("test", Rdn.unescapeValue("\"test\""));
      assertEquals("\"test", Rdn.unescapeValue("\"test"));
      assertEquals("\"te\"st", Rdn.unescapeValue("\"te\"st"));
      assertEquals("te\"st", Rdn.unescapeValue("\"te\"st\""));
      assertEquals("test", Rdn.unescapeValue(" \"test\" "));
      assertEquals("\"test\" ", Rdn.unescapeValue(" \"test\"
      "));
      assertEquals("te1st
      ", Rdn.unescapeValue(" \"te\\31st\\\" "));

      Attachments

        1. harmony-4229.diff
          4 kB
          Kelvin Ye

        Activity

          People

            tony.wu Tony Wu
            kelvinye Kelvin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: