From f59198dd06fe1e66bb60713f211cae3b8b212ca6 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Thu, 30 Mar 2023 14:57:06 +0300 Subject: [PATCH] Make generate no-args constructor package private The idea here is that hopefully it convince code coverage tools to ignore it Relates to: #32254 --- .../processor/src/main/java/io/quarkus/arc/processor/Beans.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Beans.java b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Beans.java index 2cd2e56e3d8b7..ecd40936e71a3 100644 --- a/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Beans.java +++ b/independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/Beans.java @@ -1040,7 +1040,7 @@ public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) { super.visit(version, access, name, signature, superName, interfaces); - MethodVisitor mv = visitMethod(Modifier.PUBLIC | Opcodes.ACC_SYNTHETIC, Methods.INIT, "()V", null, + MethodVisitor mv = visitMethod(Opcodes.ACC_SYNTHETIC, Methods.INIT, "()V", null, null); mv.visitCode(); mv.visitVarInsn(Opcodes.ALOAD, 0);