Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 159554

Summary: Eclipse hangs when class extends itself
Product: [Eclipse Project] JDT Reporter: Igor Mihalik <imi>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: imi
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Igor Mihalik CLA 2006-10-03 04:48:12 EDT
Eclipse hangs when user creates a class that extends itself; example:

public class Problem extends Problem {
}

<Save>

This has to be typed manually, code assist does not provide possibility to extend class from itself (and it's correct). 
However when entered this manually and saved (Ctrl+s) Eclipse hangs. Restart does not help, source file has to be edited (and corrected) in external editor.
Comment 1 David Audel CLA 2006-10-03 09:14:44 EDT
I cannot reproduce the problem.

Could you give the build id of your eclipse install ?
Could you attach to this bug a simple project that reproduce the problem ?
Comment 2 Igor Mihalik CLA 2006-10-03 09:23:55 EDT
Eclipse SDK

Version: 3.2.0
Build id: M20060628-1325
Comment 3 David Audel CLA 2006-10-03 09:44:18 EDT
I cannot reproduce the problem with the build M20060628-1325.

Could you give the configuration details of your eclipse install ? You can find it  at 'Help>About Eclipse SDK>Configuration Details'. With that i will see what VM do you use, what plugins are installed and some other usefull informations.

If you use some other plugins than Eclipse SDK, are you able to reproduce the problem with only the Eclipse SDK ?
Comment 4 David Audel CLA 2006-10-03 09:59:30 EDT
Again another question.
Could you attach a theard dump of your vm when eclipse hangs ? You must launch eclipse with -consoleLog option and do Ctrl+Break in the console to have the vm thread dump.
Comment 5 Igor Mihalik CLA 2006-10-03 10:09:40 EDT
ok, shame on me. The clean installation of Eclipse works fine. It's a custom
plugin used in my Eclipse SDK. Can't provide details here. Anyway thanks for hint.
Comment 6 David Audel CLA 2006-10-03 10:18:35 EDT
No problem and thanks for your quick answers.
Comment 7 Igor Mihalik CLA 2006-10-03 10:57:39 EDT
closed.