Integrated: 8277803: vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001 fails with "Synthetic fields not found"

Liam Miller-Cushon cushon at openjdk.java.net
Tue Nov 30 01:38:09 UTC 2021


On Mon, 29 Nov 2021 21:38:14 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change fixes `vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001` after [JDK-8271623](https://bugs.openjdk.java.net/browse/JDK-8271623).
> 
> [JDK-8271623](https://bugs.openjdk.java.net/browse/JDK-8271623) causes javac to omit a synthetic field from inner classes that do not reference their enclosing instance. The test was specifically checking for the presence of the synthetic field. To fix the test, this change adds an explicit reference to the enclosing instance of an inner class.

This pull request has now been integrated.

Changeset: 27299eaa
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/27299eaa98fd2d608a6cecfbf2b1a2a177bd5e9a
Stats:     7 lines in 2 files changed: 6 ins; 1 del; 0 mod

8277803: vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001 fails with "Synthetic fields not found"

Reviewed-by: dholmes, cjplummer, sspitsyn

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

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


More information about the serviceability-dev mailing list