JDK-8028388: changed initialisation of JAF
(cherry picked from commit 68b208c)
13_04-JDK-8026188-EnvelopeFactory
(cherry picked from commit 9dc2a76)