Fix RevocationChecker IndexOutOfBoundsException

Ported from openJdk8u121

Failed to locate referenced test.

port from openjdk8u121
changeset:   9171:0157177fb61a
user:        juh
date:        Wed Feb 19 20:07:10 2014 -0800
summary:     8031025: SQE test CertPath/CertPathBuilderTest/* failed with java.lang.IndexOutOfBoundsException

Test: CtsLibcoreTestCases
Bug: 31028374
Change-Id: Ie5fa22cd3b90c6026c6efd6db1d179d5d1cd6eb9
1 file changed