1.1 Workaround Java Performance Regression When Loading user.clj
Recent builds of Java 8 (u202), 11 (11.0.2), 12, and 13 included
some changes that drastically affect
optimization performance of calls from static initializers to static fields.
Clojure provides support for loading code on startup from a user.clj file and this
occurred in the static initializer of the Clojure runtime (RT) class and was thus
affected.
This issue may eventually be resolved in Java, but in Clojure we have
modified runtime initialization to avoid loading user.clj in a static
initializer, which mitigates the case where this caused a performance
degradation.
CLJ-2484
Significant performance regression of code loaded in user.clj in Java 8u202/11.0.
1.2 clojure.main Error Reporting
clojure.main is frequently used as a Clojure program launcher by external tools.
Previously, uncaught exceptions would be automatically printed by the JVM, which
would also print the stack trace.
This release will now catch exceptions and use the same error triage and printing
functionality as the Clojure repl. The full stack trace, ex-info, and other
information will be printed to a target specified by the configuration.
The three available error targets are:
file - write to a temp file (default, falls back to stderr)
stderr - write to stderr stream
none - don't write
These error targets can be specified either as options to clojure.main, or as
Java system properties (flags take precedence). When invoking clojure.main
(or using the clj tool), use --report <target>. For Java system property,
use -Dclojure.main.report=<target>.
CLJ-2463
Improve error printing in clojure.main with -m, -e, etc
CLJ-2497
Put error report location on its own line
CLJ-2504
Provide more options for error reporting in clojure.main
Bumps org.clojure:clojure from 1.10.0 to 1.10.1.
Changelog
Sourced from org.clojure:clojure's changelog.
... (truncated)
Commits
38bafca
[maven-release-plugin] prepare release clojure-1.10.18c402a8
[maven-release-plugin] prepare for next development iterationa8b4559
[maven-release-plugin] prepare release clojure-1.10.1-RC18f03ff0
update changelog for 1.10.1076e884
[maven-release-plugin] prepare for next development iterationfb5facf
[maven-release-plugin] prepare release clojure-1.10.1-beta33852406
CLJ-2504 More options to configure error reporting75f8bc9
[maven-release-plugin] prepare for next development iteration96c78e2
[maven-release-plugin] prepare release clojure-1.10.1-beta2b19b781
CLJ-2497 - Print error report location on its own line