RFR: 7904105: intermittent test failure in CleanupDirTests.agentvm.conc

Vladimir Petko vpetko at openjdk.org
Tue Oct 28 04:15:51 UTC 2025


jtharness does not synchronize calls to Observer. Synchronized keyword needs to be added when processing shared state.

---------
### Progress
- [ ] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjdk.org/bylaws#reviewer))
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue

### Error
 ⚠️ The pull request body must not be empty.



### Reviewing
<details><summary>Using <code>git</code></summary>

Checkout this PR locally: \
`$ git fetch https://git.openjdk.org/jtreg.git pull/297/head:pull/297` \
`$ git checkout pull/297`

Update a local copy of the PR: \
`$ git checkout pull/297` \
`$ git pull https://git.openjdk.org/jtreg.git pull/297/head`

</details>
<details><summary>Using Skara CLI tools</summary>

Checkout this PR locally: \
`$ git pr checkout 297`

View PR using the GUI difftool: \
`$ git pr show -t 297`

</details>
<details><summary>Using diff file</summary>

Download this PR as a diff file: \
<a href="https://git.openjdk.org/jtreg/pull/297.diff">https://git.openjdk.org/jtreg/pull/297.diff</a>

</details>

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

Commit messages:
 - fix: synchronize the test result callbacks

Changes: https://git.openjdk.org/jtreg/pull/297/files
  Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=297&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904105
  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jtreg/pull/297.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/297/head:pull/297

PR: https://git.openjdk.org/jtreg/pull/297


More information about the jtreg-dev mailing list