Clarify exception thrown by ParameterizedTypeImpl.validateConstructorArguments()

XMLWordPrintable

        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.

              Assignee:
              Joe Darcy
              Reporter:
              Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: