summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-02-14 14:16:15 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-02-14 16:13:20 +0000
commita159f38d3ba4f01829d4c9cd7fb7f904a1071127 (patch)
tree07ba75a8d93d7ecbc9caf768fbe5492929d035d9 /include/ScopedJavaUnicodeString.h
parent5010befcd36ad5d909fbf3c82bbd978b73b945c4 (diff)
Fix X509Certificate.verify(_,Provider) infinite loop
openJdk8 introduced new method in java.security.cert.Certificate, verify(PublicKey, Provider). Default implmentation of this verify overload in the java.security.cert.X509Certificate class calls X509CertImpl.verify(PublicKey, Provider) which calls the Certificate.verify(PublicKey, Provider) causing an infinite loop. Removing the default X509Certificate implementation will make it use a defaults provided by the Certificate class. This default throws UnsupportedMethodOperation, which makes more sense then inifinte recursion. Similar change was already done for java.security.cert.X509CRL.verify(_, Provider) Test: CtsLibcoreTestCases Bug: 31294527 Change-Id: Id11b50bbe9b15e8890e3e4f1b7d9b9e06f162e27
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions