| Anonymous | Login | Signup for a new account | 11-30-2025 08:29 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004551 | [Resin] | block | always | 05-15-11 11:07 | 05-19-11 14:44 | ||||
| Reporter | dicr | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.19 | Product Version | 4.0.18 | ||||
| Product Build | |||||||||
| 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 | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed. 28 unique queries executed. |