Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.3
-
None
-
Debian GNU/Linux tomcat 6
Description
The following code fails when trying to retrieve data with the simple fronted
public class ComplexMapResult extends
HashMap<String, Map<Integer, Integer>> {
}
// fail returns null map value
public ComplexMapResult testComplexMapResult();
How it fails. On retrieve when I try to print the resulting matrix I get
INFO: client.TestClient.testComplexMapResult(TestClient.java:35):
where I should get a valid map for the key "key1"
The following code succeeds
// success
public Map<String, Map<Integer, Integer>> testDirectComplexMapResult();
So my guess is Aegis doesn't handle the inheritance very well.
Further more the following code succeeds
// success
public class SimpleMapResult extends HashMap<String, Integer> {
}
// success
public SimpleMapResult testSimpleMapResult();
so that means it handles the extension when there is no nesting
I will try to attach the eclipse project for this (~7k)