RFR: 8341483: Clarify special case handling of Types.getArrayType

Chen Liang liach at openjdk.org
Fri Oct 4 04:36:33 UTC 2024


On Fri, 4 Oct 2024 04:10:20 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Add specification and tests for invalid inputs to getArrayType that generation an exception. As initially written, this PR changes the behavior on NONE and the null type.

Are array types valid component types of array types? Not sure how it works in the language, but an array type is not a valid component type if it has 255 dimensions.

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

PR Comment: https://git.openjdk.org/jdk/pull/21346#issuecomment-2392801335


More information about the compiler-dev mailing list