RFR: 7903852: apidiff: IllegalArgumentException for RECORD_COMPONENT
Jonathan Gibbons
jjg at openjdk.org
Tue Oct 1 17:41:18 UTC 2024
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`.
-------------
Commit messages:
- 7903852: apidiff: IllegalArgumentException for RECORD_COMPONENT
Changes: https://git.openjdk.org/apidiff/pull/20/files
Webrev: https://webrevs.openjdk.org/?repo=apidiff&pr=20&range=00
Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903852
Stats: 15 lines in 3 files changed: 13 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/apidiff/pull/20.diff
Fetch: git fetch https://git.openjdk.org/apidiff.git pull/20/head:pull/20
PR: https://git.openjdk.org/apidiff/pull/20
More information about the apidiff-dev
mailing list