Bug: Compact record constructor is missing generic type info on parameters

Patrick Doyle p.r.doyle at gmail.com
Mon Feb 19 13:52:53 UTC 2024


Hi all,

I have a JUnit5 test case that demonstrates that if you use the compact
constructor syntax in a record, the reflection info will be missing generic
type information. Implicit constructors work fine, as do explicit canonical
constructors.

I found this on Temurin 21.0.2 and the Adoptium project suggested I post
here.

The unit test can be found in the Adoptium bug report:
https://github.com/adoptium/adoptium-support/issues/1025

Let me know if there's anything I can do to help.

Thanks,
--
Patrick Doyle
p.r.doyle at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20240219/70315253/attachment.htm>


More information about the amber-dev mailing list