
| Key: |
UNI-176
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Tim Ducheyne
|
| Reporter: |
yura
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Unitils
Created: 06/Nov/09 10:13 AM
Updated: 11/Nov/09 06:10 PM
|
|
| Component/s: |
mock
|
| Affects Version/s: |
None
|
| Fix Version/s: |
3.1
|
|
|
Mock injection does not work with generic types sample Mock<GenericDao<T, PK>> mockDao;
|
|
Description
|
Mock injection does not work with generic types sample Mock<GenericDao<T, PK>> mockDao; |
Show » |
|
The generics implementation in Java is very difficult to work with. A lot of information is not accessible because of the type erasure for example.
I've had to rework the type handling. Instead of Class I know use Type.
Thanks for the report,
Tim