Skip to content

Commit 9ad906c

Browse files
cichlibbatsov
authored andcommitted
Appease Eastwood on openjdk11
1 parent 2eb71db commit 9ad906c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eastwood.clj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@
33
:if-inside-macroexpansion-of #{'boot.core/deftask}
44
:within-depth 7
55
:reason "The `deftask` macro often includes calls to `boot.util/dbug*` whose purpose is solely for side-effects."})
6+
7+
(disable-warning
8+
{:linter :deprecations
9+
:symbol-matches #{#"^public boolean java\.lang\.reflect\.AccessibleObject\.isAccessible\(\)$"}
10+
:reason "The replacement, canAccess(Object), was added in JDK9 – but we still support JDK8."})

0 commit comments

Comments
 (0)