Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6800121

TV TCK 1.1.1's sig test can not pass on TV RI under Sun's PBP impelmentation with SOP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • st2.2
    • st1.5.2
    • tools
    • None
    • 2.2
    • generic
    • generic
    • Verified

      --- Sun Confidential: Internal only ---
      --- Please don't move the problem to issue tracker ---

      TV TCK 1.1.1 experience the problem to pass signature test that run under the Java TV API RI on PBP with SOP. The reason of the problem has been explained in but #6784758 "javax.net.ssl.HttpsURLConnection declares class with strange name javax.net.ssl.SunJSSE_c".

      Signature test v 1.5.2 in TV TCK has distributed model and loads all declared classes on client part to pass their names to server part for further checks. Test believes the name of declared class contains $ as separator between declaring and declared classes: package_name.DeclaringClass$DeclaredClass. But, class name javax.net.ssl.SunJSSE_c that is declared by javax.net.ssl.HttpsURLConnection has no $ separator and test fails.

      How to reproduce this bug is explained in #6784758 comments section.

      PBP stack developers evaluated this bug. They believe the problem is in the signature test:

      ###@###.### wrote:
      _________________________

      I have conferred with Hinkmond Wong on this, and we both agree that this looks like a test bug. The reasoning is that the specification for Class.getDeclaredClasses does not call out any specific format which is required - ie, the fact that the implementation returns the list in the format of <class name>$<declared class name> is an artifact of the implementation, not a requirement, and it shouldn't be relied on by a test.

      I looked in bugtraq and I can't find any bugs filed against JDK for this - so as far as I can tell the behavior change from 1.4.2 (which secop is based on) to 1.6 is purely incidental. I'm going to update the bug to this effect - that I think it is a test bug. Please let me know if you have any questions or need further information.
      _________________________
      This was fixed in 1.5.2 fcs 2 and 2.2

            ersh Mikhail Ershov (Inactive)
            dsilaev Dmitri Silaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: