AbstractGenericHttpMessageConverter has no constructor taking a Charset #33563
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
AbstractHttpMessageConverter
has a constructor(Charset defaultCharset, MediaType... supportedMediaTypes)
.AbstractGenericHttpMessageConverter
extends it, but provides no access to that constructor.That forces implementors to call
setDefaultCharset
in their constructors, which gives athis-escape
warning since Java 18 unless they are declaredfinal
.The text was updated successfully, but these errors were encountered: