Skip to content

[native-image] NPE in ChainedSubstitutionProcessor.lookup #968

Closed
@johanvos

Description

@johanvos

In a complex application that works fine with Java 8 on SVM, I have an issue when using Java 11.
The final error is a NullPointerException in SubstitutionProcessor$ChainedSubstitutionProcessor.lookup since the first lookup returns null in
`second.lookup(first.lookup(method))

FYI, first is an AnnotationSupport instance and declaringClass.getSubstitutionMethod(method) returns null for
declaringClass = AnnotationType<jdk.jfr.Relational$$ProxyImpl -> HotSpotType<Lcom/sun/proxy/$Proxy37;, resolved>>
and
method = HotSpotMethod<$Proxy37.<init>(InvocationHandler)>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions