jamesnetherton commented on code in PR #6030:
URL: https://github.com/apache/camel-quarkus/pull/6030#discussion_r1576136812


##########
extensions/jt400/deployment/src/main/java/org/apache/camel/quarkus/component/jt400/deployment/Jt400Processor.java:
##########
@@ -86,6 +89,16 @@ void 
reflectiveClasses(BuildProducer<ReflectiveClassBuildItem> reflectiveClasses
 
     }
 
+    @BuildStep
+    void resourceBundles(BuildProducer<NativeImageResourceBundleBuildItem> 
imageResourceBundles,
+            CombinedIndexBuildItem combinedIndex) {
+        IndexView index = combinedIndex.getIndex();
+
+        index.getAllKnownSubclasses(LIST_RESOURCE_BUNDLE_NAME).stream()

Review Comment:
   Probably best to filter on a package prefix of `com.ibm.as400`.
   
   Otherwise we register everything on the classpath extending 
`ListResourceBundle`. Which is probably not what we want.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to