[code-reflection] RFR: Improve JavaType::toString
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Jun 4 12:42:42 UTC 2024
On Fri, 31 May 2024 22:06:42 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> Alignment with `Type.toString` is very useful for runtime debugging. I think we should remove `ClassType.toClassName`. We should probably rename the `JavaType.ofString` method to avoid confusion.
Re. `JavaType::ofString`, it seems to be used:
* in both Spriv and Triton examples
* in cast/instanceof op parsing, as the parsing code seems to work both with types and strings (not sure that's intended)
-------------
PR Comment: https://git.openjdk.org/babylon/pull/110#issuecomment-2147435035
More information about the babylon-dev
mailing list