Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22427

Sub-application loads an RSL into the wrong ApplicationDomain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Import the three attached Flash Builder projects. The projects are for AppA, AppB, and CustomFoo. AppA is top level application. AppA loads the framework RSL (but no other RSLs) and AppB. AppB loads the CustomFoo RSL (and no other RSLs). The SDK default for these projects was "Merged into code". If your default is "RSL" then you should change the framework linkage in AppA and AppB to "Merged into Code".
      2. Run AppA in the debugger.
      3. Click the "AppA test for MyFoo" button. "MyFoo" is a class in the CustomFoo RSL and so should not be seen by AppA. In the console window you wil see "Is MyFoo class available = false" which is correct.
      4. Click the "load AppB" button.
      5. Click the "AppA test for MyFoo" button.

      Actual Results:
      In the console window you wil see "Is MyFoo class available = true". This is incorrect. The CustomFoo RSL should be loaded into AppB's application domain, not AppA's application domain.

      Expected Results:
      "Is MyFoo class available = false".

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: