[code-reflection] RFR: Refactor JavaType [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Apr 9 13:16:47 UTC 2024


On Mon, 8 Apr 2024 20:12:20 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Looks good. The refactoring does make the mess of type factories more noticeable, lets clean that up afterwards.
> 
> There are a few cases where casting to `JavaType` needs to be replaced with `ClassType` here: src/main/java/intel/code/spirv/SpirvModuleGenerator.java If you don't wanna build that example i can send you the small patch or can submit a PR after this one is integrated.

I ran `mvn clean test` on both example projects, and made sure everything runs fine (and fixed few issues introduced by this PR).

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

PR Comment: https://git.openjdk.org/babylon/pull/46#issuecomment-2045154031


More information about the babylon-dev mailing list