taoensso / tempel

Data security framework for Clojure
https://www.taoensso.com/tempel
Eclipse Public License 1.0
116 stars 1 forks source link

Fix unit tests for Java 21 and later. #3

Closed iarenaza closed 6 months ago

iarenaza commented 6 months ago

JDK-8302017 [1] introduced a change in the way padding errors are handled in RSA. As a consequence, a new exception message was introduced that wasn't accounted for in the unit tests.

[1] https://bugs.openjdk.org/browse/JDK-8302017 and associated backporting issues.

ptaoussanis commented 6 months ago

Merging manually, thanks! 👍