I want to be able to modify and rebuild lib/ext/sunpkcs11.jar.
When I do a "make all; make images" everything completes successfully.
With javap, I can see my modified class in the
build/linux-amd64/j2sdk-image/jre/lib/ext
When I use this built ext directory as a replacement of the Oracle 7U4 JRE, and
run some code that does
KeyGenerator gen = KeyGenerator.getInstance("AES");
I get
Test1,java.security.NoSuchAlgorithmException: AES KeyGenerator not
available
at javax.crypto.KeyGenerator.<init>(KeyGenerator.java:158)
at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:207)
This code runs successfully with the regular Oracle 7U4 JRE.
Am I missing something in the build process?
-- Tom Deneau