Skip to content

Commit

Permalink
Fix AotUtils NPE (#13825)
Browse files Browse the repository at this point in the history
Signed-off-by: crazyhzm <crazyhzm@gmail.com>
  • Loading branch information
CrazyHZM authored Mar 5, 2024
1 parent 22b3c29 commit 3f2e0e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ private static void registerSerializationType(
}
}));

registerSerializationType(registerType.getSuperclass(), hints, serializationTypeCache);
if (registerType.getSuperclass() != null) {
registerSerializationType(registerType.getSuperclass(), hints, serializationTypeCache);
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@
public interface DemoService {

HelloResponse sayHello(HelloRequest request);

String sayHelloForSerializable(java.io.Serializable name);
}

0 comments on commit 3f2e0e1

Please sign in to comment.