Closed
Description
If you have something like:
@GetMapping("/foo")
public ResponseEntity<?> method(@Nonnull Principal principal) {
return ResponseEntity.ok("bar");
}
ServletRequestMethodArgumentResolver
will fail to resolve the principal parameter because there's some annotation on it.
I think this is a regression introduced by #19779