ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaikiran Pai <jai.forums2...@gmail.com>
Subject Re: ant git commit: disable a bunch of caches, just so we've tried that as well
Date Tue, 19 Dec 2017 11:43:29 GMT
That was it! :) The same old canonical path cache. Looking at the JDK 
code, I still am not sure which exact code path triggers this 
stale/invalid cache in this specific case, but apparently it does.

  [exec]     [junit] Testsuite: org.apache.tools.ant.taskdefs.optional.unix.SymlinkTest
      [exec]     [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.276
sec

-Jaikiran


On 19/12/17 5:02 PM, bodewig@apache.org wrote:
> Repository: ant
> Updated Branches:
>    refs/heads/master c2c821a38 -> 3dad11d41
>
>
> disable a bunch of caches, just so we've tried that as well
>
>
> Project: http://git-wip-us.apache.org/repos/asf/ant/repo
> Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/3dad11d4
> Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/3dad11d4
> Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/3dad11d4
>
> Branch: refs/heads/master
> Commit: 3dad11d4191074a95b0d83397e73a99bd5b3f0c1
> Parents: c2c821a
> Author: Stefan Bodewig <bodewig@apache.org>
> Authored: Tue Dec 19 12:31:26 2017 +0100
> Committer: Stefan Bodewig <bodewig@apache.org>
> Committed: Tue Dec 19 12:31:26 2017 +0100
>
> ----------------------------------------------------------------------
>   build.xml | 2 ++
>   1 file changed, 2 insertions(+)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/ant/blob/3dad11d4/build.xml
> ----------------------------------------------------------------------
> diff --git a/build.xml b/build.xml
> index 36df7a4..0939eb5 100644
> --- a/build.xml
> +++ b/build.xml
> @@ -1665,6 +1665,8 @@ ${antunit.reports}
>             <sysproperty key="tests.and.ant.share.classloader"
>                          value="${tests.and.ant.share.classloader}"/>
>             <sysproperty key="java.io.tmpdir" file="${build.junit.tmpdir}"/>
> +          <sysproperty key="sun.io.useCanonCaches" value="false"/>
> +          <sysproperty key="sun.io.useCanonPrefixCache" value="false"/>
>             <classpath>
>               <path refid="tests-runtime-classpath"/>
>               <pathelement location="${junit.collector.dir}"/>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message