My company uses an applet which needs JNI to access some PKI features.
This is a very stable (+4 years) solution and is already in production in several clients.
It's a signed (Thawte Certificate) applet and it worked fine until JRE7 21 - now a security exception has popped (all Applet JNI solutions we have are presenting the same issue).
I checked Java applet stopped working after update to JRE 7u21 and Cannot launch applet using Java 7u21. I've checked Java 7 Update 21 Security Improvements in Detail, but it doesn't mention anything about JNI.
I've already tried using TurstedLibrary and recompiling it with JDK7 21 but it still pops the security exception.
I'd like to check with you guys if you had the same issue and if someone is able to use Java + JNI again (don't know if there's some new stuff to sign the DLL or something like that)..
Update:
Working - got it through http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/mixed_code.html#trusted_library
Adding the correct Trusted Library manifest make it stop prompting the error - remembering that you need to use JDK7 21.