Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4551 | block | always | 05-15-11 11:07 | 05-19-11 14:44 | |
|
|||||
Reporter: | dicr | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.18 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.19 | ||
|
|||||
Summary: | 0004551: ejb: invalid proxy code generation with generics | ||||
Description: |
I have bean with method methods, which using generics: public <DO> DO getById(final Class<DO> clazz, final long id) throws NotFoundException and public <DO> Collection<DO> listAll(Class<DO> clazz, boolean withDeleted); This generated to stateless proxy java-code: public <T_0 extends java.lang.Object> T_0 getById(java.lang.Class<T_0> a0, long a1) throws org.dicr.util.data.exc.NotFoundException; and public java.util.Collection<T_0> listAll(java.lang.Class<T_0> a0, boolean a1) First is Ok, but seconds is inccorrect and this code can't be compiled: cannot find symbol symbol : class T_0 Second methos must be traslated in the same way as first: public <T_0> java.util.Collection<T_0> listAll(java.lang.Class<T_0> a0, boolean a1) instead of public java.util.Collection<T_0> listAll(java.lang.Class<T_0> a0, boolean a1) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|