Where do I submit bug reports in IntelliJ
I found a bug in the Generate tool when generating from abstract classes and implementing an interface. If the class is extended and the abstract class coded, the Type is left as T in the subclass. But when the abstract class isn't coded, the type is correctly produced in the subclass
Example:
Class Hierarchy:
interface CrudRepository;
superclass AbstractMapService;
descendents: OwnerServiceMap, PetServiceMap
class signature: public class [OwnerServiceMap] extends AbstractMapService<[Owner], Long> implements CrudRepository<[Owner], Long>
the AbstractMapService base, (when it is coded causes the bug)
Reproduction of bug:
- Created AbstractMapService new file (left empty)
- Created OwnerServiceMap new file - extended with AbstractMapService and implementing CrudRepository
- Generated Implementation in OwnerServiceMap (works well)
- Coded AbstractMapService with methods
- Created PetServiceMap new file - extended with AbstractMapService and implementing CrudRepository
- Generated Implementation in PetServiceMap (type is T not the type in the generics which was Pet)
OwnerServiceMap (while leaving the AbstractMapService uncoded - skeletal) -- produced the correct entities.
AbstractMapService (But when coded in)
generating PetServiceMap, and that's where the bug surfaced!!! -- generic type T not the real type
I need to submit this!!!
Thanks
Please sign in to leave a comment.
Please report IntelliJ IDEA issues at https://youtrack.jetbrains.com/issues/IDEA .
thank you guy!
BTW, you could use Help - Submit Bug Report and IDE will navigate to the proper resource.