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

several java/util/logging tests do not restore default Locale and TimeZone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • None

      java/util/logging/bundlesearch/ResourceBundleSearchTest.java
      java/util/logging/HigherResolutionTimeStamps/SerializeLogRecord.java
      java/util/logging/HigherResolutionTimeStamps/SimpleFormatterNanos.java
      java/util/logging/HigherResolutionTimeStamps/XmlFormatterNanos.java

      java/lang/System/LoggerFinder/internal/BaseDefaultLoggerFinderTest/BaseDefaultLoggerFinderTest.java
      java/lang/System/LoggerFinder/internal/LoggerFinderLoaderTest/LoggerFinderLoaderTest.java

      These tests sets the default Locale, some tests also set the default TimeZone, without restore.

      This leads to potential problems for tests that run subsequently in the same VM.

            amlu Amy Lu (Inactive)
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: