In 7.10.1, the IClass.getInstanceHashCodes() method was deprecated. As discussed in junit-team/testng-engine#116 (comment), it is used by the JUnit Platform adapter (testng-engine) to append the instance index to the display name which is important to differentiate between different runs. Prior to removing the method, a replacement for this use case should be added.