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

Circular @SubModule will crash the IOC container with OutOfMemoryException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.9
    • 5.0.11
    • tapestry-ioc
    • 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

            hlship Howard Lewis Ship
            martijn_brinkers Martijn Brinkers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: