Bug 44580

Summary: No outline when unit name is not valid
Product: [Eclipse Project] JDT Reporter: Frederic Fusier <frederic_fusier>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Frederic Fusier CLA 2003-10-09 12:44:58 EDT
I have a compilation unit "Example.java" in a java project.

In the Resource perspective, I rename this file "Example .java" which is 
obviously an invalid name for a java file, the outline goes away although I 
wouldn't expect any change in it.

If I rename the file "Example1.java" which is a valid one, then the outline 
comes back and got the expected error:
"The public type Example must be defined in its own file"
Comment 1 Frederic Fusier CLA 2003-10-09 12:46:27 EDT
When I said "...Outline goes away..." this mean than it becomes empty not that 
this view was closed abruptely...
Comment 2 Philipe Mulet CLA 2003-10-10 17:55:40 EDT
Fixed, this was a consequence of unnecessary validation of handles, see bug 
44662

*** This bug has been marked as a duplicate of 44662 ***
Comment 3 Philipe Mulet CLA 2003-10-10 18:21:10 EDT
Actually, there was more to it. Commit did not work always (see 
WorkingCopyNotInClasspathTests#testReconcileAndCommit4,
WorkingCopyNotInClasspathTests#testReconcileAndCommit5)
Comment 4 Philipe Mulet CLA 2003-10-10 18:22:04 EDT
Fixed (commit working copy operation)
Comment 5 David Audel CLA 2003-11-19 10:12:47 EST
Verified.