Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1589

Regression, EAR/lib/foo.jar with @Named no longer visible in EAR/bar.war

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.17.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      EAR/lib/foo.jar and EAR/bar.war

      foo.jar:

      import javax.inject.Named;
      
      @Named("echo")
      public class CommonEcho {
          public String getText() {
              return "CommonEcho";
          }
      }
      

      and a page in bar.war:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:ui="http://java.sun.com/jsf/facelets">
      <h:head>
      </h:head>
      <h:body>
          <h:outputText value="#{echo.text}" />
      </h:body>
      </html>
      

      no longer works in Weld 1.1.17.Final

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jharting Jozef Hartinger
                  Reporter:
                  maschmid Marek Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: