Skip to content

Polish JupiterConfigProvider #306

@sbrannen

Description

@sbrannen

The following code block:

try {
Class <?> executor = Class.forName("org.junit.jupiter.engine.extension.TimeoutExtension$ExecutorResource");
registry.registerAllClassMembersForReflection(executor);
} catch (ClassNotFoundException e) {
debug("Failed to register class for reflection. Reason: %s", e);
}

... should be moved to org.graalvm.junit.platform.config.jupiter.JupiterConfigProvider.onLoad(NativeImageConfiguration) since it is not specific to a particular testClass.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestjunit-supportRelated to JUnit Support project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions