A DESCRIPTION OF THE REQUEST :
sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl.validateConstructorArguments() throws MalformedParameterizedTypeException.
Currently the exception message is empty.
JUSTIFICATION :
MalformedParameterizedTypeException with an empty description is vague, and could be caused by many different factors.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Methods throwing MalformedParameterizedTypeException, such as ParameterizedTypeImpl.validateConstructorArguments() should always a detailed message that explains what went wrong.
The detail message should include:
- The class being invoked.
- The formal class type parameters.
- The actual type parameters passed in.