JDK-8291914 : generated constructors are considered compact when they shouldn't
Type:Bug
Component:tools
Sub-Component:javac
Affected Version:19,20
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2022-08-04
Updated:2022-11-14
Resolved:2022-10-20
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Given a declaration like:
record R() {}
javac is considering the generated constructor both canonical and compact, it should only be canonical as there is no explicit compact constructor declaration