On Mon, 3 Jan 2022 22:36:32 GMT, Valerie Peng <valer...@openjdk.org> wrote:
>> The test update checks that the alias maps to the right algorithm. However, >> the particular code change covered by this fix is for removing the alias >> from the previous algorithm which is not triggered by the test change. Alias >> is an internal property of the Service object. Let me explore more and see >> if it can be triggered. > > There is no public API for retrieving the aliases from a given Service > object. However, it's reported as part of toString(). So, we can check the > toString() output to see if the alias is removed from the previous service. > Updated test patch attached. > [patch.txt](https://github.com/openjdk/jdk18/files/7804357/patch.txt) All right, thank you, @valeriepeng! The new test fails without the patch, and passes with it. I added it to PR. ------------- PR: https://git.openjdk.java.net/jdk18/pull/70