Skip to content

Commit 6fe26d8

Browse files
committed
Fix serialization flag handling in ReflectiveClassBuildItem.MultiBuildItem
1 parent 6187964 commit 6fe26d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveClassBuildItem.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,13 @@ public Builder weak(boolean weak) {
192192
}
193193

194194
public Builder serialization(boolean serialize) {
195-
this.serialization = serialization;
195+
this.serialization = serialize;
196196
return this;
197197
}
198198

199199
public ReflectiveClassBuildItem build() {
200-
return new ReflectiveClassBuildItem(constructors, methods, fields, finalFieldsWritable, weak, className);
200+
return new ReflectiveClassBuildItem(constructors, methods, fields, finalFieldsWritable, weak, serialization,
201+
className);
201202
}
202203
}
203204
}

0 commit comments

Comments
 (0)