RFR: 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
Jaikiran Pai
jpai at openjdk.org
Thu Feb 27 16:11:00 UTC 2025
On Tue, 4 Feb 2025 14:08:05 GMT, Mikhail Yankelevich <duke 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
Hello Mikhail, since we are updating these tests to move away from the shell tests, could you also see if the `deadlock.jar` file which has been committed into the repo, can be generated dynamically within the test itself. There are several ways we could do that and some other tests already have examples, but I think the main thing to look into is what exactly that (signed) jar contains to see if it is feasible to generate it dynamically.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23440#issuecomment-2688421671
More information about the security-dev
mailing list