-
Notifications
You must be signed in to change notification settings - Fork 1.1k
NioFileLocker.unlock #2980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch! Feel free to contribute a fix! Thanks |
garyrussell
added a commit
to garyrussell/spring-integration
that referenced
this issue
Jul 22, 2019
artembilan
pushed a commit
that referenced
this issue
Jul 22, 2019
artembilan
pushed a commit
that referenced
this issue
Jul 22, 2019
Fixes #2980 # Conflicts: # spring-integration-file/src/test/java/org/springframework/integration/file/locking/NioFileLockerTests.java
artembilan
pushed a commit
that referenced
this issue
Jul 22, 2019
Fixes #2980 # Conflicts: # spring-integration-file/src/test/java/org/springframework/integration/file/locking/NioFileLockerTests.java
artembilan
pushed a commit
that referenced
this issue
Jul 22, 2019
Fixes #2980 # Conflicts: # spring-integration-file/src/test/java/org/springframework/integration/file/locking/NioFileLockerTests.java # Conflicts: # spring-integration-file/src/main/java/org/springframework/integration/file/locking/NioFileLocker.java # spring-integration-file/src/test/java/org/springframework/integration/file/locking/NioFileLockerTests.java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all, It appears to me that there is a bug in NioFileLocker.unlock() method (spring integration v5.1.4.RELEASE).
Method clears up classloader level cache by calling FileChannelCache.closeChannelFor(fileToUnlock);, but it never tries to clean up its local lockCache.
The text was updated successfully, but these errors were encountered: