https://issues.apache.org/bugzilla/show_bug.cgi?id=56956
--- Comment #2 from Daniel Bonniot <[email protected]> --- Nick, thanks for applying the patch so quickly and for the added comments. If I understand your argument for the File constructor being read-only to match InputStream, shouldn't that apply to the FileChannel as well? I.e. consistently use the read-only mode in all constructors. This change would have the added benefit that applications that pass a read-only FileChannel would not break when upgrading from 3.10 to 3.11. On the other hand, that could potentially break existing code, but only code using trunk or a 3.11 beta, which sounds like a lesser evil than breaking code using a released version. Attaching the proposed further patch. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
