[ANN] Clojure 1.8.0-RC5

1,128 views
Skip to first unread message

Alex Miller

unread,
Jan 11, 2016, 9:52:11 AM1/11/16
to Clojure
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:
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 - Fixes regression in the error message returned in the case of a bad return type class
  • CLJ-1829 - Modifies the socket server to avoid an issue with the locking macro in Android

James Elliott

unread,
Jan 12, 2016, 12:11:06 AM1/12/16
to Clojure
I’ve done some testing and Afterglow appears to work fine with this latest release candidate as well.

Andy Fingerhut

unread,
Jan 13, 2016, 11:32:12 AM1/13/16
to clo...@googlegroups.com
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.


--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nicola Mometto

unread,
Jan 13, 2016, 11:41:05 AM1/13/16
to clo...@googlegroups.com
Thanks for your reports Andy, useful and prompt as always :)

Alex Miller

unread,
Jan 13, 2016, 12:03:30 PM1/13/16
to clo...@googlegroups.com
Thanks Andy! 

I looked at that reflection line here:

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.


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+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages