-
Sub-task
-
Resolution: Fixed
-
P4
-
24
-
None
-
b18
Copying notes from parent issue:
unboxedType
spec: IAE when the "given type has no unboxing conversion"
actual: matches spec
expected: fine, but could be more explicit that there will always be an IAE for non-DeclaredTypes.
---
getWildcardType
spec: IAE if an input TypeMirror is "not valid"
actual: IAE for PrimitiveType, WildcardType, UnionType, ExecutableType, and NoTypes; no error for ErrorTypes.
expected: behavior is fine, but spec should be more clear -- that is, IAE for all non-ReferenceTypes.
unboxedType
spec: IAE when the "given type has no unboxing conversion"
actual: matches spec
expected: fine, but could be more explicit that there will always be an IAE for non-DeclaredTypes.
---
getWildcardType
spec: IAE if an input TypeMirror is "not valid"
actual: IAE for PrimitiveType, WildcardType, UnionType, ExecutableType, and NoTypes; no error for ErrorTypes.
expected: behavior is fine, but spec should be more clear -- that is, IAE for all non-ReferenceTypes.
- csr for
-
JDK-8340979 Clarify special case handling of unboxedType and getWildcardType
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/73ebb848
-
Review(master) openjdk/jdk/21193