Skip to content

Commit

Permalink
Merge pull request #5954 from chrisrueger/5951-try-to-fix-racecondition
Browse files Browse the repository at this point in the history
synchronize JAREditor.getFolder()
  • Loading branch information
pkriens authored Jan 8, 2024
2 parents ce57055 + bbd8cb1 commit 7c3e51f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void setInput(URI uri) {
update();
}

private IFolder getFolder(URI input, IProgressMonitor monitor) throws CoreException {
private synchronized IFolder getFolder(URI input, IProgressMonitor monitor) throws CoreException {

URI full = JarFileSystem.jarf(input, "/")
.orElseThrow(IllegalArgumentException::new);
Expand Down

0 comments on commit 7c3e51f

Please sign in to comment.