diff --git a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/BeanArchives.java b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/BeanArchives.java index 2e2203cd67eac..3ea6daa02c1d2 100644 --- a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/BeanArchives.java +++ b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/BeanArchives.java @@ -244,7 +244,8 @@ static boolean index(Indexer indexer, String className) { static boolean index(Indexer indexer, String className, ClassLoader classLoader) { boolean result = false; - if (Types.isPrimitiveClassName(className)) { + if (Types.isPrimitiveClassName(className) || className.startsWith("[")) { + // Ignore primitives and arrays return false; } try (InputStream stream = classLoader