RFR: 7903852: apidiff: IllegalArgumentException for RECORD_COMPONENT

Pavel Rappo prappo at openjdk.org
Tue Oct 1 18:15:49 UTC 2024


On Tue, 1 Oct 2024 17:36:46 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a small fix for an IllegalArgumentException.
> 
> The exception is "correct"; the error is at the call site which should not be calling the method that throws the exception.
> Record components, like type parameters, do not have distinct A:PI descriptions that can be compared.
> 
> Separately, we need better back-end tests for `HtmlReporter`.

Does this PR simply improves the exception message?

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

PR Comment: https://git.openjdk.org/apidiff/pull/20#issuecomment-2386662151


More information about the apidiff-dev mailing list