History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-4750
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Serge Baranov
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Code generated by Generate -> "equals() and hashcode()" can produce stack-overflow

Created: 16 Jan 06 22:39   Updated: 10 Nov 06 01:25
Component/s: Editor. Code Completion
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Java Source File RefinedStat.java (5 kb)


Build: 4,115
Severity: Medium


 Description  « Hide
Hugh Secker-Walker reports:

>I tried using the Code -> Generate -> "equals() and hashcode()" feature
>for the first time today. It's a handy feature, but it doesn't protect against a recursive stack-overflow
>problem in equals() in a relatively straightforward inheritance situation.

Sample file illustrating the problem is attached.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.