RFR: 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java

Mikhail Yankelevich duke at openjdk.org
Thu Feb 27 15:49:58 UTC 2025


On Thu, 27 Feb 2025 15:37:47 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

>> Refactor the following to run fully in java:
>> test/java/security//Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh
>> test/java/security//Security/ClassLoaderDeadlock/Deadlock.sh
>
> test/jdk/java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.java line 29:
> 
>> 27: * @summary verify no deadlock if crypto provider in other classloader is used to verify signed jars
>> 28: * @modules java.base/java.security
>> 29: * @library ./deadlock.jar
> 
> Will the lowercase 'd' cause problems on a case-sensitive OS (if people still do that)?

It should be, but nonetheless, I think changing it would be best just for the sake of consistency. 
Should be changed in the next commit

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/23440#discussion_r1973861427


More information about the security-dev mailing list