Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. You would need to have source for flexstore for this test case (in order to use attached java file without any modifications)..
2. copy flexstore.mxml and create flexstore2.mxml (no changes to contents are required.
3. Compile attached java file using:
javac -classpath <path to flex-compiler-oem.jar> AppCacheTest.java
4. Run using:
java -cp .:<path to flex-compiler-oem.jar> AppCacheTest <Path to root folder containing flexstore sources>
Actual Results:
After calling app.clean() the applicationCache.getSource("ProductsView"); returns a not null Source.
The last system.out prints "Source object should be null false" should be "Source object should be null true"
Expected Results:
As per the spec, the cache is cleared when a project is cleaned. So I would expect the getSource() method to return null after a project is cleaned.