lvh / caesium

Modern cryptography (libsodium/NaCl) for Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write test to make sure Java annotations make it to the Java interface

lvh opened this issue · comments

commented

e.g. @Pinned is super important; we should assert that it works correctly :)

commented

so many tests: https://github.com/lvh/caesium/blob/master/test/caesium/binding_test.clj

The original version of this used Parameter, which is a new feature in JDK8. Those were nicer, but I ended porting it to JDK7-only features. You should still use JDK8 (it's better, really) but I'm not ready to break backwards compat yet.