Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8196535 Remove support for pre-Java 6 non-JVM-wide file locking
  3. JDK-8197957

Release Note: Removal of sun.nio.ch.disableSystemWideOverlappingFileLockCheck Property

XMLWordPrintable

    • generic
    • generic
    • Verified

      The property `sun.nio.ch.disableSystemWideOverlappingFileLockCheck` has been removed. Consequently, compatibility with the older locking approach has also been removed.

      JDK 6 introduced the system property `sun.nio.ch.disableSystemWideOverlappingFileLockCheck` to control file locking behavior. Specifically, the property was used to enable suppression of JVM-wide file locking and provide compatibility with JDK 1.4 and JDK 5. The old behavior was constrained to check for locks obtained only on the channel instance and not JVM-wide, which is what was actually specified.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: