On Tue, 12 Dec 2023 22:21:29 GMT, Joe Darcy <da...@openjdk.org> wrote:
> As the core reflection code will encounter record classes compiled before and > after the javac code generation change, if the old behavior can be triggered > in javac using `--release $OLD`/`--source $OLD`, that would be helpful to > include as part of the testing. I don't think that the old behavior can be triggered using --release $OLD as fix for https://bugs.openjdk.org/browse/JDK-8292275 was applicable to all targets / sources. But I think I can create a .jcod file with a compact constructor of a record class for which the parameters are not mandated and check that the generic information is correctly retrieved. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17070#issuecomment-1854778693