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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: