Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16795

camel-file - read-lock fails for minimum length files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.11.0
    • 3.11.1, 3.12.0
    • camel-core
    • None
    • Unknown
    • Regression

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              philschaller Philippe Schaller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: