On Mon, 19 Apr 2021 15:07:16 GMT, Fernando Guallini <[email protected]> wrote:
> Refactor the following shell tests to java: > test/jdk/java/lang/RuntimeTests/shutdown/ShutdownHooks.sh > test/jdk/java/lang/Runtime/exec/SetCwd.java > > In addition, the test SetCwd was running itself in separate java subprocesses > in order to exercise Runtime.exec. It was creating a folder structure with > multiple test class copies to distinguish between main and child processes to > prevent an infinite recursion. That logic is simplified now, tests follow the > testng annotations flow whereas the subprocesses entry point is a nested > class main This pull request has now been integrated. Changeset: ec383abc Author: Fernando Guallini <[email protected]> Committer: Sean Coffey <[email protected]> URL: https://git.openjdk.java.net/jdk/commit/ec383abc1d2e609cc6af94a526e11c407d7e91ff Stats: 232 lines in 4 files changed: 67 ins; 121 del; 44 mod 8183374: Refactor java/lang/Runtime shell tests to java Reviewed-by: coffeys ------------- PR: https://git.openjdk.java.net/jdk/pull/3572
