Thanks Andy!

I looked at that reflection line here:
https://github.com/clj-time/clj-time/blob/v0.6.0/src/clj_time/core.clj#L577

Looks like this is likely the result of the type hinting changes in 1.8,
probably something to do with the return type hint on last-day-of-the-month
being on the var rather than the signature.


On Wed, Jan 13, 2016 at 10:32 AM, Andy Fingerhut <andy.finger...@gmail.com>
wrote:

> Results of some testing done on 1.8.0-RC5:
>
> Ran 'mvn clean test' on a few OS/JDK combos that are not tested as often.
> Reason: there have been (or still are) build or test failures with some of
> them.  All JDKs listed below were 64-bit.
>
> Windows 7 Enterprise SP1 + Oracle JDK 1.7.0_80: ok 3/3 trials
> Ubuntu 14.04.3 LTS + OpenJDK 1.7.0_91: ok 3/3 trials
> Ubuntu 14.04.3 LTS + IBM JDK 1.7.0 (based on jdk7u75-b12): ok 10/10
> trials, as long as failing tests mentioned in
> http://dev.clojure.org/jira/browse/CLJ-1678 are commented out
> Ubuntu 14.04.3 LTS + IBM JDK 1.8.0 (based on jdk8u51-b15): same as for IBM
> JDK 1.7.0
> Ubuntu 14.04.3 LTS + Oracle JDK 1.9.0-ea-b91: ok 3/3 trials
> Mac OS X 10.11.1 + Oracle JDK 1.8.0_11: ok 106/106 trials
>
> Running Eastwood version 0.2.2 with Clojure 1.8.0-RC5 on 84 open source
> Clojure projects and all namespaces within Clojure itself gives very
> similar results as when using Clojure 1.7.0.
>
> Differences in results are listed below.  All of them look benign to me.
>
> One project that uses (throw) with no arguments, and thus Clojure
> 1.8.0-RC5 gives a compilation error that Clojure 1.7.0 did not.  This is an
> improvement in error checking in 1.8.0-RC5:
> http://dev.clojure.org/jira/browse/CLJ-1456
>
> Several reflection warnings in Clojure itself in namespace clojure.instant
> are no longer there.  This is due to a performance improvement in
> 1.8.0-RC5: http://dev.clojure.org/jira/browse/CLJ-1277
>
> The following reflection warnings appear with Clojure 1.7.0 + Eastwood
> 0.2.2, but not with Clojure 1.8.0-RC5 + Eastwood 0.2.2.  I haven't tried to
> dig into exactly why this change occurred.  They are all for the same
> interop call in clj-time.  I would be surprised if this was a bug.  Seems
> more likely to be the result of an intentional change in Clojure method
> resolution.  I was using JDK 1.8.0_11 on Mac OS X 10.11.2, in case it makes
> a difference.
>
> In project Carmine:
>
> == Linting taoensso.carmine.tundra.s3 ==
> jar:file:/Users/admin/.m2/repository/clj-time/clj-time/0.6.0/clj-time-0.6.0.jar!/clj_time/core.clj:577:10:
> Reflection warning - reference to field getDayOfMonth on java.lang.Object
> can't be resolved.
>
> Project compojure:
>
> == Linting compojure.handler ==
> jar:file:/Users/admin/.m2/repository/clj-time/clj-time/0.6.0/clj-time-0.6.0.jar!/clj_time/core.clj:577:10:
> Reflection warning - reference to field getDayOfMonth on java.lang.Object
> can't be resolved.
>
> Project lib-noir:
>
> == Linting noir.cookies ==
> jar:file:/Users/admin/.m2/repository/clj-time/clj-time/0.6.0/clj-time-0.6.0.jar!/clj_time/core.clj:577:10:
> Reflection warning - reference to field getDayOfMonth on java.lang.Object
> can't be resolved.
>
>
> On Mon, Jan 11, 2016 at 6:52 AM, Alex Miller <a...@puredanger.com> wrote:
>
>> Clojure 1.8.0-RC5 is now available.
>>
>> *This is likely the final "release candidate" for 1.8. Please test this
>> build with your libraries and applications and provide feedback as soon as
>> possible. If we have not heard any critical issues, we expect to make this
>> the final release in about a week.*
>>
>> Try it via:
>>
>>    - Download:
>>    https://repo1.maven.org/maven2/org/clojure/clojure/1.8.0-RC5
>>    - Leiningen: [org.clojure/clojure "1.8.0-RC5"]
>>
>> Below are the changes since 1.8.0-RC4. See the full 1.8 change log here:
>> https://github.com/clojure/clojure/blob/master/changes.md.
>>
>>    - CLJ-1868 <http://dev.clojure.org/jira/browse/CLJ-1868> - Fixes
>>    regression in the error message returned in the case of a bad return type
>>    class
>>    - CLJ-1829 <http://dev.clojure.org/jira/browse/CLJ-1829> - Modifies
>>    the socket server to avoid an issue with the locking macro in Android
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to clojure+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/5UjWgwTI6fY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to