[jdk11u-dev] Integrated: 8270196: [11u] [JVMCI] JavaType.toJavaName() returns incorrect type name for lambdas

Severin Gehwolf sgehwolf at openjdk.java.net
Tue Jul 13 10:25:47 UTC 2021


On Fri, 9 Jul 2021 18:00:03 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Please review this partial backport of [JDK-8225810](https://bugs.openjdk.java.net/browse/JDK-8225810) which fixes an issue of returning an incorrect type name for lambda classes. The type name includes a `.` where it should be a `/`. This causes an issue for debuginfo generation in native-image (from Mandrel, which is based on OpenJDK 11u). A regression test for this follows with [JDK-8270184](https://bugs.openjdk.java.net/browse/JDK-8270184).
> 
> Backporting the full JVMCI update seems too risky in order to get this simple fix. Thus, the proposal of an OpenJDK 11u specific bug. The change is self-contained to JVMCI.
> 
> Testing: test/hotspot/jtreg/compiler/jvmci/ jtreg tests and JVMCI bootstrap test, modified `TestResolvedJavaType.java` from JDK-8270184 (used to fail, now passes).
> 
> Thoughts?

This pull request has now been integrated.

Changeset: d4e48284
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/d4e48284954948c8b9ed667e2c7b69635362a1ae
Stats:     25 lines in 1 file changed: 23 ins; 0 del; 2 mod

8270196: [11u] [JVMCI] JavaType.toJavaName() returns incorrect type name for lambdas

Reviewed-by: clanger

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/120


More information about the jdk-updates-dev mailing list