Details

      Description

      using weld-se with SE 5 dont't work. We found out that classes uses methods that aren't declared in JDK 5 but in JDK 6.
      E.G. weld-se (1.1.2.Final) org.jboss.weld.xml.BeansXmlHandler.getContainer() calls String.isEmpty().
      Hence, the initialization of the container via 'WeldContainer weld = new Weld().initialize()' failed .

        Gliffy Diagrams

          Activity

          Hide
          csc19601128 christoph schmidt-casdorff added a comment - - edited

          I'm sorry. This bug hides other bugs having similar cause.

          E.G. org.jboss.weld.util.collections.ArraySetMultimap.putSingleElement(ArraySetMultimap.java:58) tried to access class java.util.AbstractMap$SimpleEntry.
          This class has default scope in JDK 5, but public scope in JDK 6.
          I cannot assure that this is the last issue of this kind.

          Is there any chance to test weld-se in JDK 5 environment? Will JDK 5 be supported?

          Show
          csc19601128 christoph schmidt-casdorff added a comment - - edited I'm sorry. This bug hides other bugs having similar cause. E.G. org.jboss.weld.util.collections.ArraySetMultimap.putSingleElement(ArraySetMultimap.java:58) tried to access class java.util.AbstractMap$SimpleEntry. This class has default scope in JDK 5, but public scope in JDK 6. I cannot assure that this is the last issue of this kind. Is there any chance to test weld-se in JDK 5 environment? Will JDK 5 be supported?
          Hide
          alesj Ales Justin added a comment -

          I'm on Mac, hence cannot easily test JDK5.
          Can you run the whole Weld testsuite or at least Weld SE – on JDK5?
          And then provide a patch via github pull.

          Show
          alesj Ales Justin added a comment - I'm on Mac, hence cannot easily test JDK5. Can you run the whole Weld testsuite or at least Weld SE – on JDK5? And then provide a patch via github pull.

            People

            • Assignee:
              mstruk Marko Strukelj
              Reporter:
              csc19601128 christoph schmidt-casdorff
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development