You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/07/09 07:26:00 UTC

[jira] [Resolved] (CAMEL-16795) camel-file - read-lock fails for minimum length files

     [ https://issues.apache.org/jira/browse/CAMEL-16795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-16795.
---------------------------------
    Resolution: Fixed

> camel-file - read-lock fails for minimum length files
> -----------------------------------------------------
>
>                 Key: CAMEL-16795
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16795
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.11.0
>            Reporter: Philippe Schaller
>            Priority: Minor
>             Fix For: 3.11.1, 3.12.0
>
>
> I am not sure what [1] tried to solve, but it surely introduced a regression with the read-lock behavior. The removal of brackets in line 90/91 in the file {{FileChangedExclusiveReadLockStrategy.java}} completely changed the semantics of that if-clause.
> [1]  [https://github.com/apache/camel/commit/c5bbbd5b58569fbbd00d2936223f4d52ed23f78d#diff-e90f2831ab339881c4b627055a7bb905fa9762171f00a362898ee252b0e25122]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)