Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Kubitz2022-08-15 09:05:04 +0000
committerMatthias Sohn2022-09-22 08:48:50 +0000
commit2021ce3423a7db6949b9e0a71a8c15e5826ccc4c (patch)
treea0776760a70f3a90c66accf7a4a4bcb158ac3434 /org.eclipse.jgit.junit.http
parenteb5124c74f9bcdedc8492a8c1eddc734adfb7226 (diff)
downloadjgit-master.tar.gz
jgit-master.tar.xz
jgit-master.zip
ObjectDirectory: avoid using File.getCanonicalPath()HEADmaster
On java 17 + Windows OS java.io.File.getCanonicalPath is a very slow system call which uses most time during clone. That is since JDK 12 the result of File.getCanonicalPath is not cached anymore by default: https://bugs.openjdk.java.net/browse/JDK-8207005 * Use toRealPath() to follow symbolic links also on windows. * Cache the result. Bug: 580568 Change-Id: I95f4f5b2babefd7210ee4740646230225ebf3788
Diffstat (limited to 'org.eclipse.jgit.junit.http')
0 files changed, 0 insertions, 0 deletions

Back to the top