Skip to content

Commit

Permalink
Register JBoss EnhancedQueueExecutor$RuntimeFields for runtime init
Browse files Browse the repository at this point in the history
  • Loading branch information
zakkak committed Oct 10, 2024
1 parent 60f4210 commit aab9355
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package io.quarkus.deployment;

import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;

public class JBossThreadsProcessor {

@BuildStep
RuntimeInitializedClassBuildItem build() {
// TODO: Remove once we move to a jboss-threads version that handles this in its native-image.properties file
// see https://github.com/jbossas/jboss-threads/pull/200
return new RuntimeInitializedClassBuildItem("org.jboss.threads.EnhancedQueueExecutor$RuntimeFields");
}
}

0 comments on commit aab9355

Please sign in to comment.