-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
for: backport-to-5.0.xIssues that will be back-ported to the 5.0.x lineIssues that will be back-ported to the 5.0.x linefor: backport-to-5.1.xIssues that will be back-ported to the 5.1.x lineIssues that will be back-ported to the 5.1.x linein: integrationtype: bug
Milestone
Description
i have an example, here that fails if you don't add a few extra hints for a simple example compiled to graalvm and using remote partitioning. please add the following hints to the jar itself so users don't need to
i had to put this on the worker node and @ImportRuntimeHints
it:
static class Hints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
var mcs = MemberCategory.values();
hints.reflection().registerType(StepExecutionRequestHandler.class, mcs);
hints.serialization().registerType(StepExecutionRequest.class);
}
}
i had to put this on the leader node and @ImportRuntimeHints
it:
static class Hints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
var mcs = MemberCategory.values();
hints.reflection().registerType(MessageChannelPartitionHandler.class, mcs);
hints.serialization().registerType(StepExecutionRequest.class);
}
}
fmbenhassineRubenGamarrarodriguez-tomtom
Metadata
Metadata
Assignees
Labels
for: backport-to-5.0.xIssues that will be back-ported to the 5.0.x lineIssues that will be back-ported to the 5.0.x linefor: backport-to-5.1.xIssues that will be back-ported to the 5.1.x lineIssues that will be back-ported to the 5.1.x linein: integrationtype: bug