Skip to content

Commit 03f3214

Browse files
committed
fix for JDK11 reflection ambiguity
1 parent 6547845 commit 03f3214

File tree

1 file changed

+3
-3
lines changed
  • src/main/clojure/clojure/data

1 file changed

+3
-3
lines changed

src/main/clojure/clojure/data/avl.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@
479479
(toArray [this]
480480
(into-array Object this))
481481

482-
(toArray [this arr]
482+
(^objects toArray [this ^objects arr]
483483
(if (>= (count arr) 2)
484484
(doto arr
485485
(aset 0 key)
@@ -1262,7 +1262,7 @@
12621262
(toArray [this]
12631263
(RT/seqToArray (seq this)))
12641264

1265-
(toArray [this arr]
1265+
(^objects toArray [this ^objects arr]
12661266
(RT/seqToPassedArray (seq this) arr))
12671267

12681268
(containsAll [this c]
@@ -1800,7 +1800,7 @@
18001800
(toArray [this]
18011801
(RT/seqToArray (seq this)))
18021802

1803-
(toArray [this a]
1803+
(^objects toArray [this ^objects a]
18041804
(RT/seqToPassedArray (seq this) a)))
18051805

18061806
(deftype AVLTransientSet

0 commit comments

Comments
 (0)