RFR 8253451: Performance regression in java.util.Scanner after 8236201

2020-09-21 Thread Martin Balao
Hi, I'd like to propose a fix for JDK-8253451 [1] performance regression. Webrev.00: * http://cr.openjdk.java.net/~mbalao/webrevs/8253451/8253451.webrev.00 As explained in [1], the idea for the fix is to optimize the regexp string for the most common group and decimal separator characters

RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes

2021-01-06 Thread Martin Balao
As described in JDK-8259319 [1], this fix proposal is to set proper access permissions so the SunPKCS11 provider can create instances of SunJCE classes when a Security Manager is installed and the fallback scheme is used. No regressions found in jdk/sun/security/pkcs11 tests category. -- [1] -

Re: RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes [v2]

2021-01-08 Thread Martin Balao
tests category. > > -- > [1] - https://bugs.openjdk.java.net/browse/JDK-8259319 Martin Balao has updated the pull request incrementally with two additional commits since the last revision: - Limit P11Util::getProvider privileged access to the required 'accessClassInPackage' Runtim

Re: RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes

2021-01-08 Thread Martin Balao
On Thu, 7 Jan 2021 19:29:29 GMT, Valerie Peng wrote: >> As described in JDK-8259319 [1], this fix proposal is to set proper access >> permissions so the SunPKCS11 provider can create instances of SunJCE classes >> when a Security Manager is installed and the fallback scheme is used. >> >> No

Re: RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes [v2]

2021-01-08 Thread Martin Balao
On Fri, 8 Jan 2021 19:35:47 GMT, Valerie Peng wrote: >> Martin Balao has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Limit P11Util::getProvider privileged access to the required >> 'accessClassInP

Re: RFR: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes [v2]

2021-01-08 Thread Martin Balao
On Thu, 7 Jan 2021 21:23:55 GMT, Sean Mullan wrote: >> Martin Balao has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Limit P11Util::getProvider privileged access to the required >> 'accessClassInP

Integrated: 8259319: Illegal package access when SunPKCS11 requires SunJCE's classes

2021-01-12 Thread Martin Balao
On Wed, 6 Jan 2021 15:33:59 GMT, Martin Balao wrote: > As described in JDK-8259319 [1], this fix proposal is to set proper access > permissions so the SunPKCS11 provider can create instances of SunJCE classes > when a Security Manager is installed and the fallback schem

RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2021-10-20 Thread Martin Balao
I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to the state previous to JDK-8160768, where an authentication failure stops from trying other LDAP servers with the same credentials [1]. After JDK-8160768 we have 2 possible loops to stop: the one that iterates over

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2021-11-17 Thread Martin Balao
On Wed, 10 Nov 2021 12:58:13 GMT, Aleksei Efimov wrote: >> I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to >> the state previous to JDK-8160768, where an authentication failure stops >> from trying other LDAP servers with the same credentials [1]. After >>

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2021-11-10 Thread Martin Balao
On Wed, 10 Nov 2021 12:58:13 GMT, Aleksei Efimov wrote: >> I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to >> the state previous to JDK-8160768, where an authentication failure stops >> from trying other LDAP servers with the same credentials [1]. After >>

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2021-11-10 Thread Martin Balao
On Wed, 20 Oct 2021 13:35:22 GMT, Martin Balao wrote: > I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to > the state previous to JDK-8160768, where an authentication failure stops from > trying other LDAP servers with the same credentials [1]. After JDK-8

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2021-12-15 Thread Martin Balao
On Wed, 17 Nov 2021 20:04:50 GMT, Martin Balao wrote: >> Hi Martin, >> >> The change looks reasonable to me. >> I would suggest having a CSR logged for this change due to the following >> [behavioral >> incompatibility](https://wiki.openjdk.java.ne

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-02-08 Thread Martin Balao
On Thu, 16 Dec 2021 01:23:11 GMT, Martin Balao wrote: >> Hi @AlekseiEfimov >> >> Can you please review the CSR [1]? >> >> Thanks, >> Martin.- >> >> -- >> [1] - https://bugs.openjdk.java.net/browse/JDK-8276959 > >> @mar

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-02-08 Thread Martin Balao
On Tue, 8 Feb 2022 13:41:28 GMT, Martin Balao wrote: >>> @martinuy This pull request has been inactive for more than 4 weeks and >>> will be automatically closed if another 4 weeks passes without any >>> activity. To avoid this, simply add a new comment to the p

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-02-09 Thread Martin Balao
On Wed, 9 Feb 2022 11:10:14 GMT, Michael Osipov wrote: >>> @martinuy, I am the reporter of JDK-8160768. Regarding this PR, isn't >>> everything protocol related a fail-fast issue? E.g., if the socket is up >>> and running, but the LDAP message is rejected can we assume that all >>> subsequent

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-02-09 Thread Martin Balao
On Wed, 20 Oct 2021 13:35:22 GMT, Martin Balao wrote: > I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to > the state previous to JDK-8160768, where an authentication failure stops from > trying other LDAP servers with the same credentials [1]. After JDK-8

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-02-09 Thread Martin Balao
On Wed, 9 Feb 2022 19:12:34 GMT, Daniel Fuchs wrote: > The concerns are two folds: > > * without a regression test, you have to trust that the source changes > actually work, and there's typically no verification possible > * without a regression test, the next refactoring change in this area

Integrated: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-05-12 Thread Martin Balao
On Wed, 20 Oct 2021 13:35:22 GMT, Martin Balao wrote: > I'd like to propose a fix for JDK-8275535. This fix reverts the behavior to > the state previous to JDK-8160768, where an authentication failure stops from > trying other LDAP servers with the same credentials [1]. After JDK-8

Re: RFR: 8275535: Retrying a failed authentication on multiple LDAP servers can lead to users blocked

2022-05-12 Thread Martin Balao
On Thu, 10 Feb 2022 15:25:09 GMT, Aleksei Efimov wrote: >>> The concerns are two folds: >>> >>> * without a regression test, you have to trust that the source changes >>> actually work, and there's typically no verification possible >>> * without a regression test, the next refactoring change