On Thu, 2 Mar 2023 22:20:10 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
>> Alex Menkov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> addressed feedback > > test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java line 85: > >> 83: int dupsFound = 0; >> 84: // agent.getTypeDataBase() returns HotSpotTypeDataBase (extends >> BasicTypeDataBase) >> 85: BasicTypeDataBase typeDB = >> (BasicTypeDataBase)(agent.getTypeDataBase()); > > I don't think the cast is needed. agent.getTypeDataBase() returns TypeDataBase, we need BasicTypeDataBase ------------- PR: https://git.openjdk.org/jdk/pull/12820