Tibor17 commented on pull request #65: URL: https://github.com/apache/maven-resolver/pull/65#issuecomment-661295037
@rmannibucau i was talking to @michael-o about the Map<File, Lock> but having a look at the takari impl i have to say that they are not totally safe wt the [Line60](https://github.com/takari/takari-local-repository/blob/master/src/main/java/io/takari/aether/concurrency/LockingSyncContext.java#L60) because they rewrite the Map entry concurrently. They have to fix it by [Java 8 Functions and ConcurrentHampMap](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html#computeIfAbsent-K-java.util.function.Function-). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
