Integrated: JDK-8315248: AssertionError in Name.compareTo

Jonathan Gibbons jjg at openjdk.org
Wed Aug 30 21:55:31 UTC 2023


On Wed, 30 Aug 2023 00:25:52 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a small fix to avoid an `AssertionError` coming out of `CharSequence.compare` for two `CharSequence` objects obtained from different instances of the `javax.lang.model` API.
> 
> Full details in the JBS issue and comments.
> 
> There are some minor cleanup edits as well, and some improvements to the code to throw AssertionError in a few places.

This pull request has now been integrated.

Changeset: df5e6e5d
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/df5e6e5d482e70b33612639b3c1c04eaa1ed361e
Stats:     158 lines in 2 files changed: 142 ins; 9 del; 7 mod

8315248: AssertionError in Name.compareTo

Reviewed-by: vromero

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

PR: https://git.openjdk.org/jdk/pull/15478


More information about the compiler-dev mailing list