Skip to content

Commit fe8dfb6

Browse files
authored
Merge pull request quarkusio#50967 from mcruzdev/docs-about-supported-types-recording
Add reference to the Bytecode Recording documentation
2 parents 521d270 + c3bb9f9 commit fe8dfb6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/recording/BytecodeRecorderImpl.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,12 @@ public void prepare(MethodContext context) {
14181418
} catch (Exception e) {
14191419
throw new RuntimeException(
14201420
"Couldn't load object of type " + i.propertyType.getName() + " for property '" + i.getName()
1421-
+ "' on object '" + param + "'.");
1421+
+ "' on object '" + param
1422+
+ "'. Please, check the Bytecode Recording documentation " +
1423+
"https://quarkus.io/guides/writing-extensions#bytecode-recording to be sure this type "
1424+
+
1425+
"is supported to be passed to @Record classes.",
1426+
e);
14221427
}
14231428
if (ctorParamIndex != null) {
14241429
nonDefaultConstructorHandles[ctorParamIndex] = val;

0 commit comments

Comments
 (0)