RFR: 8313174: Create fewer predictable port clashes in management tests [v2]

Kevin Walls kevinw at openjdk.org
Wed Jul 26 18:06:59 UTC 2023


On Wed, 26 Jul 2023 17:48:53 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   port range fix
>
> test/jdk/javax/management/remote/mandatory/subjectDelegation/SubjectDelegation2Test.java line 76:
> 
>> 74:             Registry reg = null;
>> 75:             int port = 5880;
>> 76:             while (port++ < 6000) {
> 
> Does the loop need to terminate on 5900 instead of 6000?

Quite right.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15039#discussion_r1275316510


More information about the serviceability-dev mailing list