RFR: 8357178: Simplify Class::componentType [v2]

Per Minborg pminborg at openjdk.org
Mon May 19 09:13:03 UTC 2025


On Mon, 19 May 2025 00:22:08 GMT, Chen Liang <liach at openjdk.org> wrote:

>> `isArray` and null return is now redundant when `componentType` is changed to an explicit field.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   For parity with MT.descriptorString

Question: Why was this overload added in the first place, as it seems equivalent to `getComponentType()`?

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

PR Comment: https://git.openjdk.org/jdk/pull/25280#issuecomment-2890245474


More information about the core-libs-dev mailing list