Skip to content

Conversation

@graalvmbot
Copy link

@graalvmbot graalvmbot commented Oct 2, 2025

For many implementations of ResolvedJavaType, we want to return a list more specific than List<JavaType>. Thus, the signature should change from:

List<JavaType> getPermittedSubclasses();

to

List<? extends JavaType> getPermittedSubclasses();

@graalvmbot graalvmbot merged commit f69061d into jdk25 Oct 3, 2025
54 checks passed
@graalvmbot graalvmbot deleted the je/jvmci-fix-permitted-subclasses-GR-70208 branch October 3, 2025 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants