RFR: 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table" [v2]
Kevin Walls
kevinw at openjdk.org
Thu Aug 24 21:38:42 UTC 2023
On Thu, 24 Aug 2023 18:08:13 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
>> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Less specific error message, could be ports or other failure..
>
> test/jdk/sun/tools/jstatd/JstatdTest.java line 327:
>
>> 325: int tries = 0;
>> 326: try {
>> 327: while (jstatdThread == null && ++tries <= 10) {
>
> maybe use a ubiquitous constant MAX_RETRY (private static final in MAX_RETRY = 10)
Yes, agreed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15414#discussion_r1304892510
More information about the serviceability-dev
mailing list