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

increase java.util.logging.FileHandler MAX_LOCKS limit

XMLWordPrintable

      The fix from JDK9 cannot be backported as is into the jdk8u and earlier update releases, since it contains JDK API spec changes.
      In JDK 9 the fix is added by altering the FileHandler spec, which introduces a new configurable property "java.util.logging.FileHandler.maxLocks" to java.util.logging.FileHandler, defined in .../conf/logging.properties.

      The solution proposed for update releases is:
      To introduce an internal JDK implementation specific property- "jdk.internal.FileHandlerLogging.maxLocks" which will be used to control/override FileHandler's MAX_LOCKS value. The default value of the maxLocks (100) will be retained if this new System property is not set. The new property is read only once during FileHandler class initialization.

            rpatil Ramanand Patil (Inactive)
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: