the implementation of mastersecretvalidator depends on the jvm version . certain jvmsare affected by a serious bug that could allow a malicious mitm to negotiate a null master secret . non-affected jvms return a dummy implementation that always returns true concode_field_sep JavaVersion FIXED_JAVA_8 concode_elem_sep JavaVersion FIXED_JAVA_6 concode_elem_sep JavaVersion FIXED_JAVA_7 concode_field_sep boolean isMasterSecretValid concode_elem_sep boolean isMasterSecretValid
MasterSecretValidator function ( ) { return getMasterSecretValidator ( JavaVersionParser . getCurrentJavaVersion ( ) ) ; }