On Fri, 3 Mar 2023 00:44:31 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

>> agent.getTypeDataBase() returns TypeDataBase, we need BasicTypeDataBase
>
> Your comment seems to indicate otherwise, although I think what you meant is 
> that the declared return type for agent.getTypeDataBase() is TypeDataBase, 
> but it actually returns an object of type HotSpotTypeDataBase, which is a 
> subclass of BasicTypeDataBase. You should make that more clear.

Updated the comment. Hope it's clearer now

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

PR: https://git.openjdk.org/jdk/pull/12820

Reply via email to