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

support enable and disable of the servicetag's system registry for testing purpose

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: install
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b100
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      test/com/sun/servicetags tests may disable and enable system registry for testing purpose.

      test/com/sun/servicetag/JavaServiceTagTest.java tests with the system registry disabled while test/com/sun/servicetag/JavaServiceTagTest1.java and SystemRegistryTest.java test with the system registry enabled by setting the system property "servicetag.sthelper.supported" to true.

      Since com.sun.servicetag.Registry implementation only checks the system property once, the test/com/sun/servicetag/JavaServiceTagTest1.java and SystemRegistryTest.java failed when running in samevm mode as the system registry was disabled by JavaServiceTagTest.java.

        Attachments

          Activity

            People

            Assignee:
            mchung Mandy Chung
            Reporter:
            mchung Mandy Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: