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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 1.1.17.Final
    • None

      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

              rhn-engineering-jharting Jozef Hartinger
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: