Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8376

Misleading Error Message From UriBuilder.path(Method)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.1
    • 3.5.0, 3.4.2, 3.3.9
    • JAX-RS
    • None
    • Unknown

    Description

      When passing in a method which has no `@Path` annotation, the error message always uses java.lang.reflect.Method as the class name, since it calls getClass() on the Method object passed in to build the error message.

      I'll be submitting a PR on GitHub here shortly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jcarman James W. Carman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: