Test: sun/security/tools/jarsigner/compatibility/Compatibility.java
The Test is using wrong key size for EC Line:462
return new int[] { 384, 571, 0 }; // 0 is no keysize specified
It should be 521 instead of 571.
Also there are few Test output pattern mismatch exist which marks the Passed testcase to Failed.
Ex: The Test failed with message
java.lang.RuntimeException: The line ' Signature algorithm: SHA384withRSA, 3072-bit key' does not match pattern '^ ( Signature algorithm: DEFAULTwithRSA, 3072-bit key)|( Digest algorithm: SHA-512)$'
Here it looks like the Test expected pattern message has been modified in jarsigner output which cause the mismatch and it need correction in Test file.