copy of https://jira.jboss.org/browse/RESTEASY-439
Check the method org.jboss.resteasy.util.StringToPrimitive.stringToPrimitiveBoxType(Class primitiveType, String value)
it misses case for char primitive.
this means that in this kind of method
@Path("/")
public class ParamTestResource {
@GET
@Path("/pathparam8/
")
public String pathparam(@PathParam("var") char var) {
return "Received: \"" + var + "\"";
}
}
var is always injected null value.
- duplicates
-
RESTEASY-439 char primitive parameter doesn't get injected
- Resolved