Anonymous | Login | Signup for a new account | 12-17-2024 11:47 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 | ||||
0004590 | [Resin] | minor | always | 06-02-11 11:57 | 06-02-11 18:38 | ||||
Reporter | reza | 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.19 | ||||
Product Build | |||||||||
Summary | 0004590: EJB Code Generation Error with Generics | ||||||||
Description |
The following EJB causes a code generation error: ================================================================================ @Stateless public class FooService { public <T extends Serializable> List<T> find(Class<T> tcmClass, Collection<Integer> ids) { return Collections.emptyList(); } public <T> List<T> findAll(Class<T> tcmClass) { return Collections.emptyList(); } } ================================================================================ The error is below: ================================================================================ 11-06-02 14:49:18.813] {http://*:8080-2} [^] /home/reza/workspace/resin/webapps/ejb-generics/WEB-INF/work/ejb/qa/FooService__StatelessProxy.java:13: name clash: <T_0>findAll(java.lang.Class<T_0>) in qa.FooService__StatelessProxy<T> and <T>findAll(java.lang.Class<T>) in qa.FooService have the same erasure, yet neither overrides the other public class FooService__StatelessProxy<T> ================================================================================ This issue was originally reported by Harald Wellmann: http://forum.caucho.com/showthread.php?t=27905. [^] |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |