Uploaded image for project: 'Meecrowave'
  1. Meecrowave
  2. MEECROWAVE-75

MeecrowaveBus unwrapping doesn't work for interfaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • None

    Description

      Consider having a producer method for an interface

      @Produces
      @ApplicationScoped
      public MyEndpoint createMyEndpoint() {
          return JAXRSClientFactory.create(serviceUrl, MyEndpoint.class);
      }
      

      In this case MeecrowaveBus.java blows up because the superclass of an interface is always Object.class.

      if (aClass.getName().contains("$$")) {
                  return aClass.getSuperclass();
              }
      

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: