RFR: 8328977 : JEditorPane.setPage not thread-safe, pageLoader not cancelled [v3]
Alexey Ivanov
aivanov at openjdk.org
Tue Feb 4 18:22:29 UTC 2025
On Thu, 9 May 2024 19:27:47 GMT, Phil Race <prr at openjdk.org> wrote:
> Changes seem fine, but I would like to hear how this was tested ?
@prrace Renjith and I went over all the cases. We tried to move the cases where no action is needed to the top of the method.
> And if there is a specific test that exists for this, or why one could not be created.
Both of us ran the client tests.
I'm unaware of any test in the OpenJDK which tests this functionality… It's hard to test reliably, especially the asynchronous cases… However, it may still be possible to test some scenarios…
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18670#issuecomment-2634734034
More information about the client-libs-dev
mailing list