Integrated: 7904082: The UI for API Diff could be improved

Jan Lahoda jlahoda at openjdk.org
Mon Oct 6 07:10:28 UTC 2025


On Mon, 22 Sep 2025 15:41:29 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> This PR intends to improve the result of API diff in a few ways:
> - in the list of updated elements, using green for elements that were added (instead of elements that are unchanged), and red for removed elements. At least in cases two variants of an API are compared.
> - making added/removed elements more prominent by also coloring the signature lines
> - hiding unchanged elements by default.
> 
> An example diff that is produced before this patch:
> https://cr.openjdk.org/~jlahoda/CODETOOLS-7904082/before/
> after this patch:
> https://cr.openjdk.org/~jlahoda/CODETOOLS-7904082/after/
> 
> Please let me know what you think. I'll see if I can reasonably add some tests for this functionality.

This pull request has now been integrated.

Changeset: cb6c45e6
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/apidiff/commit/cb6c45e6b6530808a787331935cf452440508b06
Stats:     801 lines in 9 files changed: 704 ins; 40 del; 57 mod

7904082: The UI for API Diff could be improved

Reviewed-by: cstein

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

PR: https://git.openjdk.org/apidiff/pull/32


More information about the apidiff-dev mailing list