Integrated: 8284220: TypeMirror#toString omits enclosing class names after JDK-8281238

Liam Miller-Cushon cushon at openjdk.java.net
Wed May 4 20:28:31 UTC 2022


On Sun, 3 Apr 2022 22:22:06 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> Please consider this fix for https://bugs.openjdk.java.net/browse/JDK-8284220, which updates `ClassType#toString` to include enclosing class names when type annotations are present.
> 
> For example, `java.util. at A Map.Entry<?,?>` is now printed as `java.util. at A Map.Entry<?,?>`, instead of `java.util. at A Entry<?,?>` (note the missing `Map`).

This pull request has now been integrated.

Changeset: 4d30a1e8
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4d30a1e8d1587c63e85950b7a61439b5bf98c689
Stats:     165 lines in 4 files changed: 165 ins; 0 del; 0 mod

8284220: TypeMirror#toString omits enclosing class names after JDK-8281238

Reviewed-by: darcy

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

PR: https://git.openjdk.java.net/jdk/pull/8084


More information about the compiler-dev mailing list