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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7
    • Affects Version/s: 7
    • Component/s: install
    • b100
    • generic
    • generic
    • Not verified

      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.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: