On Fri, 30 Jun 2023 20:57:54 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Going over some old issues and found this RFE, posting without any tests or a 
> CSR first to get some feedback on the overall API.

Not present in the PR as written, but it would be possible to introduce a 
sealed interface PrimitiveType that the wrapper classes implemented so that the 
return type of forPrimitiveName could be Class<? extends PrimitiveType> rather 
than Class<?>.

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

PR Comment: https://git.openjdk.org/jdk/pull/14743#issuecomment-1615192869

Reply via email to