Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2117

Circular @SubModule will crash the IOC container with OutOfMemoryException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.9
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-ioc
    • Labels:
      None

      Description

      I have two modules. If both modules refer to each other with a @SubModule adding the first module seems to hang up the IOC container.

      Example:

      @SubModule(

      {MySecondModule.class}

      )
      public class MyFirstModule {
      }

      @SubModule(

      {MyFirstModule.class}

      )
      public class MySecondModule {
      }

        Attachments

        1. TapestryIOCTest.tar.gz
          1.10 MB
          Martijn Brinkers

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              martijn_brinkers Martijn Brinkers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: