File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## master (unreleased)
4
4
5
+ * Bump ` orchard ` to [ 0.29.1] ( https://github.com/clojure-emacs/orchard/blob/master/CHANGELOG.md#0291-2025-01-03 ) .
6
+ * [ #910 ] ( https://github.com/clojure-emacs/cider-nrepl/pull/910 ) : Protect Orchard Java machinery initialization with a try/catch.
7
+
5
8
## 0.51.0 (2025-01-01)
6
9
7
10
* Bump ` orchard ` to [ 0.29.0] ( https://github.com/clojure-emacs/orchard/blob/master/CHANGELOG.md#0290-2024-12-31 ) .
Original file line number Diff line number Diff line change 21
21
:url " http://www.eclipse.org/legal/epl-v10.html" }
22
22
:scm {:name " git" :url " https://github.com/clojure-emacs/cider-nrepl" }
23
23
:dependencies [[nrepl/nrepl " 1.3.1" :exclusions [org.clojure/clojure]]
24
- [cider/orchard " 0.29.0 " :exclusions [org.clojure/clojure]]
24
+ [cider/orchard " 0.29.1 " :exclusions [org.clojure/clojure]]
25
25
^:inline-dep [mx.cider/haystack " 0.3.3" :exclusions [cider/orchard]]
26
26
^:inline-dep [thunknyc/profile " 0.5.2" ]
27
27
^:inline-dep [mvxcvi/puget " 1.3.4" :exclusions [org.clojure/clojure]]
Original file line number Diff line number Diff line change 44
44
(finally
45
45
(System/exit 1 ))))
46
46
47
- ; ; Perform the underlying dynamic `require`s asap, and also not within a separate thread
48
- ; ; (note the `future` used in `#'initializer`),
49
- ; ; since `require` is not thread-safe:
50
- (orchard.java/source-info `String)
47
+ ; ; Perform the underlying dynamic `require`s asap, and also not within a
48
+ ; ; separate thread (note the `future` used in `#'initializer`), since `require`
49
+ ; ; is not thread-safe. We try it on LruMap which we know to be on the classpath,
50
+ ; ; shipped with Orchard.
51
+ (try (orchard.java/source-info 'mx.cider.orchard.LruMap)
52
+ (catch Exception _))
51
53
@analyzer/spec-abbrev
52
54
53
55
(defn warmup-orchard-caches!
You can’t perform that action at this time.
0 commit comments