Returning SharedSecrets to its original state since java8_u171 fixes the issue