Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2675

Regression in method path resolving for scanned classes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 3.13.0.Final, 4.5.6.Final
    • jaxrs
    • None

    Description

      In case there are to classes that have similar path mapping prefix but one on class another on method, one of them is not resolved during the request for scanned resource classes. This is a regression of functionality, as it used to work in RESTEasy 2.x version.

      @Path("/resources")
      public static class ResourceX {
         @Path("/x")
         @GET
         public String getX() {
            return "ResourceX";
         }
      }
      
      @Path("/")
      public static class ResourceY {
         @Path("/resources/y")
         @GET
         public String getY() {
            return "ResourceY";
         }
      }
      

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            zsergua Serg Zai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: