-
Sub-task
-
Resolution: Fixed
-
P4
-
24
-
None
-
b19
Copied from the parent issue:
getArrayType
spec: IAE if an input TypeMirror is "not valid"
actual: allows creation of primitive arrays, UnionType arrays, and '<none>[]' (!); IAE for WildcardType, ExecutableType, and other NoTypes; no error for ErrorTypes.
expected: IAE for all inputs that are neither ReferenceType nor PrimitiveType (including IAE for UnionTypes and NONE).
getArrayType
spec: IAE if an input TypeMirror is "not valid"
actual: allows creation of primitive arrays, UnionType arrays, and '<none>[]' (!); IAE for WildcardType, ExecutableType, and other NoTypes; no error for ErrorTypes.
expected: IAE for all inputs that are neither ReferenceType nor PrimitiveType (including IAE for UnionTypes and NONE).
- csr for
-
JDK-8341511 Clarify special case handling of Types.getArrayType
- Closed
- relates to
-
JDK-8175386 Clarify exception behavior of Types utility methods
- Resolved
- links to
-
Commit(master) openjdk/jdk/a3e23572
-
Review(master) openjdk/jdk/21346