Skip to content
Snippets Groups Projects

Resolve ftbfs due to the fips clause

3 files
+ 26
0
Compare changes
  • Side-by-side
  • Inline
Files
3
 
Description: Resolve FTBFS with Java 21
 
Author: Jérôme Charaoui <jerome@riseup.net>
 
Forwarded: not-needed
 
 
This removes an exception from project.clj's :fips profile which throws an
 
exception when Java 21 is used, regardless of whether the profile is activated
 
or not.
 
--- a/project.clj
 
+++ b/project.clj
 
@@ -106,7 +106,7 @@
 
(throw unsupported-ex))
 
11 ["-Djava.security.properties==dev-resources/jdk11-fips-security"]
 
17 ["-Djava.security.properties==dev-resources/jdk11-fips-security"]
 
- (throw unsupported-ex)))}]
 
+ (do)))}]
 
 
:testutils {:source-paths ^:replace ["test/clj"]
 
:java-source-paths ^:replace ["test/java"]}}
Loading