Re: RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Johannes Kuhn
On Fri, 17 Jun 2022 06:47:59 GMT, Jaikiran Pai wrote: >> * This adds additional permissions to the jdk.random module >> (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) >> * The annotations of the provider classes are now parsed early. >> This avoids putting the parts th

Re: RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Jaikiran Pai
On Thu, 16 Jun 2022 07:08:20 GMT, Johannes Kuhn wrote: > * This adds additional permissions to the jdk.random module > (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) > * The annotations of the provider classes are now parsed early. > This avoids putting the parts that

Re: RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Jaikiran Pai
On Thu, 16 Jun 2022 07:08:20 GMT, Johannes Kuhn wrote: > * This adds additional permissions to the jdk.random module > (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) > * The annotations of the provider classes are now parsed early. > This avoids putting the parts that

Re: RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Johannes Kuhn
On Thu, 16 Jun 2022 17:43:19 GMT, Sean Mullan wrote: >> * This adds additional permissions to the jdk.random module >> (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) >> * The annotations of the provider classes are now parsed early. >> This avoids putting the parts tha

Re: RFR: 8288568: Reduce runtime of java.security microbenchmarks

2022-06-16 Thread Hai-May Chao
On Thu, 16 Jun 2022 15:35:04 GMT, Claes Redestad wrote: > - Reduce forks, iteration, runtime to reduce runtime while maintaining high > data quality on typical benchmarking hosts. > > Reduces runtime from estimated 10+ hours to 54 minutes. Looks good. Would you also consider to apply the same

Re: Wrong mailadresses in List-mail-headers in mails from security-dev@

2022-06-16 Thread Sean Mullan
Thanks, looking into the issue and will get back to you. --Sean On 6/16/22 4:09 PM, Lothar Kimmeringer wrote: Hi, I've had the pronblem that mails, I've sent to the list, got lost in transmission. The reason is that I've used Thunderbird's "Write to" and "Respond to" List function that appears

Wrong mailadresses in List-mail-headers in mails from security-dev@

2022-06-16 Thread Lothar Kimmeringer
Hi, I've had the pronblem that mails, I've sent to the list, got lost in transmission. The reason is that I've used Thunderbird's "Write to" and "Respond to" List function that appears as a button if a mail contains a List-Post-header. The problem is that there are currently non-working addresse

Re: Private Keys are cached "forever" leading to inop HTTP-TLS-servers

2022-06-16 Thread Lothar Kimmeringer
[this is a resend, my last mail seem to have been lost] Am 15.06.2022 um 13:32 schrieb Bernd Eckenfels: This look to me like a bug in the PKCS11 code or - if it is documented - in the application. Why do you think it is in JCE? I'm not sure if there is a SPTB (single point to blame ;-). - As

Re: RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Sean Mullan
On Thu, 16 Jun 2022 07:08:20 GMT, Johannes Kuhn wrote: > * This adds additional permissions to the jdk.random module > (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) > * The annotations of the provider classes are now parsed early. > This avoids putting the parts that

Re: RFR: 8288568: Reduce runtime of java.security microbenchmarks

2022-06-16 Thread Eric Caspole
On Thu, 16 Jun 2022 15:35:04 GMT, Claes Redestad wrote: > - Reduce forks, iteration, runtime to reduce runtime while maintaining high > data quality on typical benchmarking hosts. > > Reduces runtime from estimated 10+ hours to 54 minutes. Looks good, thanks! - Marked as reviewed

Re: RFR: 8287596: Reorg jdk.test.lib.util.ForceGC [v9]

2022-06-16 Thread Roger Riggs
On Thu, 16 Jun 2022 15:55:00 GMT, Xue-Lei Andrew Fan wrote: >> This is a follow up update per comments in [JDK-8287384 >> PR](https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/8907__;!!ACWV5N9M2RV99hQ!LTtncpyN_2kanJmZF3wz3O88hB5AwboRKEitwQ0UJpiaZQ7RhIZpzgU4kCL3gwrt_JRqji2j5Tb92sOTW

Re: RFR: 8287596: Reorg jdk.test.lib.util.ForceGC [v9]

2022-06-16 Thread Xue-Lei Andrew Fan
> This is a follow up update per comments in [JDK-8287384 > PR](https://urldefense.com/v3/__https://github.com/openjdk/jdk/pull/8907__;!!ACWV5N9M2RV99hQ!P3mU7WBvQpF4QSHNkVOdEIIBqmwa2KSvo7-WmFeGD6B15q1wxtvwq2Au21hqz5cU-qZyGxPosHWAyXGM0Unj5Q$ > ). The tier1 and tier2 test in open part looks good t

RFR: 8288568: Reduce runtime of java.security microbenchmarks

2022-06-16 Thread Claes Redestad
- Reduce forks, iteration, runtime to reduce runtime while maintaining high data quality on typical benchmarking hosts. Reduces runtime from estimated 10+ hours to 54 minutes. - Commit messages: - Reduce runtime of java.security microbenchmarks Changes: https://git.openjdk.org/jdk

Re: RFR: 8288209: SSL debug message wrong about unsupported authentication scheme [v2]

2022-06-16 Thread Jamil Nimeh
On Mon, 13 Jun 2022 15:44:53 GMT, Weijun Wang wrote: >> At the beginning, this bug was about the incorrect warning message >> "Unsupported authentication scheme" on line 1051 which should have been >> "This key algorithm has been checked, skip it". >> >> Now, it's a code refactoring that empha

RFR: JDK-8288475: Initializing RandomGeneratorFactory.FactoryMapHolder fails if a SecurityManager is installed

2022-06-16 Thread Johannes Kuhn
* This adds additional permissions to the jdk.random module (`RuntimePermission "accessClassInPackage.jdk.internal.util.random"`) * The annotations of the provider classes are now parsed early. This avoids putting the parts that can trigger the parsing into an `AccessController.doPrivileged()