[jdk11u-dev] RFR: 8270196: [11u] [JVMCI] JavaType.toJavaName() returns incorrect type name for lambdas
Severin Gehwolf
sgehwolf at openjdk.java.net
Mon Jul 12 14:49:05 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?
Regression test for this is in #123
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/120
More information about the jdk-updates-dev
mailing list