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

api/java_security/SecureRandom/serial/index.html - two test partially fail since mustang b93

    Details

    • Subcomponent:
    • Introduced In Build:
      b93
    • Introduced In Version:
      6
    • Resolved In Build:
      b96
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        JCK : JCK6.0 b28
        J2SE : FAIL - mustang b93, PASS - mustang b92
        Platform[s] : FAIL - all
        switch/Mode : FAIL - default

        Two tests:
        api/java_security/SecureRandom/serial/index.html#Constructor[serial2001]
        api/java_security/SecureRandom/serial/index.html#Input[serial2002]

        partially fail since mustang b93 during deserialization. The output is:

        serial2001:

        Creating StreamObject from Object
        Checking for JDK Version : 1.1
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.11
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.12
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.13
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.14
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.15
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.16
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.17
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.18
        Creating spec class.
        Verifying the constraints on the serial fields
        Checking for JDK Version : 1.2
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 1.21
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 1.22
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 1.3
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 1.4
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 1.5
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        Checking for JDK Version : 6.0
        Creating spec class.
        Verifying the constraints on the serial fields
        Field provider not correctly serialized.
        serial2001 failed.

        serial2002:

        Checking for JDK Version : 1.1
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.11
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.12
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.13
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.14
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.15
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.16
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.17
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.18
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        Checking for JDK Version : 1.2
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 1.21
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 1.22
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 1.3
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 1.4
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 1.5
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.
        Checking for JDK Version : 6.0
        Creating StreamObject from spec
        Setting the value of serial fields
        Converting the StreamObject to Object
        Assertion test
        provider value of SecureRandom failed assertion check.


        steps to reproduce:

        run the foloowing script:

        set JAVA=Z:/Links/stt/jdk_promotions/JDK6.0/b93/binaries/windows-i586/jdk1.6.0/bin/java
        set JCK=Z:/Links/stt/jck_promotions/6.0/beta/b28/binaries/JCK-runtime-60/classes
        %JAVA% -cp %JCK% javasoft.sqe.tests.api.java.security.SecureRandom.serial.ConstructorTests -TestCaseID ALL

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  valeriep Valerie Peng
                  Reporter:
                  pastepan Pavel Stepanov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: