File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 3 files changed +18
-10
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.0] ( https://github.com/clojure-emacs/orchard/blob/master/CHANGELOG.md#0290-2024-12-31 ) .
6
+ - ** BREAKING** : Drop support for Java sources parsing on JDK8.
7
+ - Rework Java sources discovery.
8
+
5
9
## 0.50.3 (2024-12-02)
6
10
7
11
* Bump ` orchard ` to [ 0.28.0] ( https://github.com/clojure-emacs/orchard/blob/master/CHANGELOG.md#0280-2024-10-31 ) .
Original file line number Diff line number Diff line change 51
51
:url " http://www.eclipse.org/legal/epl-v10.html" }
52
52
:scm {:name " git" :url " https://github.com/clojure-emacs/cider-nrepl" }
53
53
:dependencies [[nrepl/nrepl " 1.3.1" :exclusions [org.clojure/clojure]]
54
- [cider/orchard " 0.28 .0" :exclusions [org.clojure/clojure]]
54
+ [cider/orchard " 0.29 .0" :exclusions [org.clojure/clojure]]
55
55
^:inline-dep [mx.cider/haystack " 0.3.3" :exclusions [cider/orchard]]
56
56
^:inline-dep [thunknyc/profile " 0.5.2" ]
57
57
^:inline-dep [mvxcvi/puget " 1.3.4" :exclusions [org.clojure/clojure]]
Original file line number Diff line number Diff line change 217
217
(pr-str response))
218
218
(is (= " cider.nrepl.test.TestClass" (:class response)))
219
219
(is (= " doSomething" (:member response)))
220
- (is (= " [a b c]" (:arglists-str response)))
220
+ (when (SystemUtils/IS_JAVA_9 )
221
+ ; ; Java source parsing is only supported in JDK11+.
222
+ (is (= " [a b c]" (:arglists-str response))))
221
223
(is (= [" int" " int" " java.lang.String" ]
222
224
(:argtypes response)))
223
225
(is (= " void" (:returns response)))
432
434
(is (not (contains? response :ns )))
433
435
(is (= " function" (:type response)))))
434
436
435
- (testing " java method eldoc lookup, internal testing methods"
436
- (let [response (session/message {:op " eldoc" :sym " fnWithSameName" :ns " cider.nrepl.middleware.info-test" })]
437
- (is (= #{[" this" ]
438
- [" a" " b" " c" ]
439
- [" this" " prim" " things" " generic" ]}
440
- (set (:eldoc response)))
441
- (pr-str response))
442
- (is (= " function" (:type response)))))))
437
+ (when (SystemUtils/IS_JAVA_9 )
438
+ ; ; Java source parsing is only supported in JDK11+.
439
+ (testing " java method eldoc lookup, internal testing methods"
440
+ (let [response (session/message {:op " eldoc" :sym " fnWithSameName" :ns " cider.nrepl.middleware.info-test" })]
441
+ (is (= #{[" this" ]
442
+ [" a" " b" " c" ]
443
+ [" this" " prim" " things" " generic" ]}
444
+ (set (:eldoc response)))
445
+ (pr-str response))
446
+ (is (= " function" (:type response))))))))
443
447
444
448
(deftest missing-info-test
445
449
(testing " ensure info returns a no-info packet if symbol not found"
You can’t perform that action at this time.
0 commit comments