Skip to content
Permalink
Browse files
8277803: vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001 …
…fails with "Synthetic fields not found"

Reviewed-by: dholmes, cjplummer, sspitsyn
  • Loading branch information
cushon committed Nov 30, 2021
1 parent 560f9c9 commit 27299eaa98fd2d608a6cecfbf2b1a2a177bd5e9a
Showing 2 changed files with 6 additions and 1 deletion.
@@ -149,7 +149,6 @@ vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Deadlock/JavaDeadlock001/TestD

vmTestbase/nsk/jdi/HiddenClass/events/events001.java 8257705 generic-all
vmTestbase/nsk/jdi/ThreadReference/stop/stop001/TestDescription.java 7034630 generic-all
vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic001/TestDescription.java 8277803 generic-all

vmTestbase/metaspace/gc/firstGC_10m/TestDescription.java 8208250 generic-all
vmTestbase/metaspace/gc/firstGC_50m/TestDescription.java 8208250 generic-all
@@ -27,6 +27,7 @@
import nsk.share.*;
import nsk.share.jpda.*;
import nsk.share.jdi.*;
import java.util.Objects;


public class issynthetic001a {
@@ -94,5 +95,10 @@ class NestedClass {
protected Inter ER0, ER1[]={ER0}, ER2[][]={ER1};
transient Inter ET0, ET1[]={ET0}, ET2[][]={ET1};
volatile Inter EV0, EV1[]={EV0}, EV2[][]={EV1};

{
// access enclosing instance so this$0 field is generated
Objects.requireNonNull(ClassToCheck.this);
}
}
}

1 comment on commit 27299ea

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 27299ea Nov 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.