File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
main/clojure/clojure/java
test/clojure/clojure/java Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 145
145
[m]
146
146
(into {} (zipmap (keys m) (map objects->data (vals m)))))
147
147
148
+ java.lang.Boolean
149
+ (objects->data [b] (boolean b))
148
150
Object
149
151
(objects->data [obj] obj)
150
152
nil
Original file line number Diff line number Diff line change 94
94
(deftest writing-attributes
95
95
(let [mem " java.lang:type=Memory" ]
96
96
(jmx/write! mem :Verbose true )
97
- ; ; need boolean cast to fix Boolean object identity error
98
- (is ( true ? ( boolean ( jmx/raw-read mem :Verbose ))) )
99
- (jmx/write! mem :Verbose false )))
97
+ ( is ( true ? ( jmx/read mem :Verbose )))
98
+ (jmx/write! mem :Verbose false )
99
+ (is ( false ? ( jmx/read mem :Verbose )) )))
100
100
101
101
(deftest test-invoke-operations
102
102
(testing " without arguments"
You can’t perform that action at this time.
0 commit comments