JDK-8196535 : Remove support for pre-Java 6 non-JVM-wide file locking
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 9,10
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-02-01
  • Updated: 2018-03-28
  • Resolved: 2018-02-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b01Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8197957 :  
Description
In Java 6 a system property sun.nio.ch.disableSystemWideOverlappingFileLockCheck was added to control file locking behavior, specifically to enable suppression of JVM-wide file locking so as to provide compatibility with prior Java versions. The old behavior was constrained to check for locks obtained on the channel instance only, not JVM-wide which is what was actually specified. At this point the old behavior should no longer be needed and support for the property should be removed.