Hi Emmanuel,

> I eventually found this check performed in the load() method of RT.java:
> 
>   if((classURL != null &&
>       (cljURL == null
>          || lastModified(classURL, classfile) > lastModified(cljURL,
> scriptfile)))
> 
> Changing '>' with '>=' fixes the issue.

Great stuff! So, we have two options as I see it:

  a) We patch clojure with ">="  (and send it upstream, etc. etc.)

  b) We make strip-nondetermism subtract 1 second from the .clj files'
     target modification times so it matches with the existing ">".

My preference is for "a)", naturally...

> Hey having fun with a Java puzzle and not telling the Java Team? That's
> mean ;)

I was slightly scared we had broken Java performance throughout
Debian! *g*


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to