You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/06/22 03:01:21 UTC

[Bug 53440] SSL connection leads ArrayStoreException on JDK 6

https://issues.apache.org/bugzilla/show_bug.cgi?id=53440

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Sebb <se...@apache.org> ---
The code in question is:

KeyManager[] managers = managerFactory.getKeyManagers();
...
for (int i = 0; i < managers.length; i++) {
    if (managers[i] instanceof X509KeyManager) {
        X509KeyManager manager = (X509KeyManager) managers[i];
        managers[i] = new WrappedX509KeyManager(manager, keys); // line 241
    }
}

Now WrappedX509KeyManager implements X509KeyManager which extends KeyManager.
I don't see how the code would even compile unless this were true, so an
ArrayStoreException should be impossible.

I've tried with java.version=1.6.0_31 on Windows and it works fine for me.

Please can you provide the simplest possible test script that shows the
problem, along with log files for Java 1.5 and 1.6?

-- 
You are receiving this mail because:
You are the assignee for the bug.