Re: RFR 8068720: ArrayIndexOutOfBoundsException in JSSE with NetscapeCertType "SSL client"

2015-01-28 Thread Ivan Gerasimov
On 29.01.2015 0:24, Michael StJohns wrote: Not critical and more work, but maybe just update this to use java.util.BitSet? I'd prefer not to invest much effort in refactoring of this class. Let's limit scope of the fix by only getting rid of AIOOB exception for positive indices! Sincerely y

Re: RFR 8068720: ArrayIndexOutOfBoundsException in JSSE with NetscapeCertType "SSL client"

2015-01-28 Thread Michael StJohns
Not critical and more work, but maybe just update this to use java.util.BitSet? Mike At 04:04 PM 1/28/2015, Ivan Gerasimov wrote: >Hello! > >Behavior of sun.security.x509.NetscapeCertTypeExtension turns out to be >inconsistent. >It greatly depends on the order in which the entries are set/retri

RFR 8068720: ArrayIndexOutOfBoundsException in JSSE with NetscapeCertType "SSL client"

2015-01-28 Thread Ivan Gerasimov
Hello! Behavior of sun.security.x509.NetscapeCertTypeExtension turns out to be inconsistent. It greatly depends on the order in which the entries are set/retrieved. The inconsistency is illustrated in the regression test: While these two lines work fine, 38 ext1.set(SSL_SERVER, tru