You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,14 @@ doesn't matter.
70
70
"Java 20 and beyond")
71
71
```
72
72
73
+
## Future Proof
74
+
75
+
This library attempts to be future proof, to support major Java versions that may be released after its latest release. Suppose `K`=`J+1`, and you have a clause
76
+
for `J+`. At macro expansion time, the Clojure compiler detects the Java version is `K` (via the JVM property). This clause should work as expected. However, I
77
+
haven't thought of the best way to comprehensively test this (suggestions welcomed).
78
+
79
+
In any case, you can always just use the default clause to specify the "latest" form.
80
+
73
81
## Building and Testing
74
82
75
83
This project was created with https://github.com/seancorfield/clj-new
0 commit comments