Bug 41444

Summary: [navigation] error dialog on opening class file
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert
Version: 3.0   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Adam Kiezun CLA 2003-08-12 13:52:00 EDT
smoke test for 20030812
try opening a .class file from the navigator - you get an error dialog.
the class file should be not from an archive
Comment 1 Dani Megert CLA 2003-08-15 05:36:04 EDT
Probably caused by a change in J Core: in 2.1 the source was found for class
files that were in the same folder as their Java files (i.e. when project is the
source folder).

Moving to J Core to comment.
Comment 2 Philipe Mulet CLA 2003-09-01 04:33:56 EDT
Please reopen once steps to reproduce are added.
Comment 3 Dani Megert CLA 2003-09-08 08:55:45 EDT
You have to open a generated .class file from the Navigator. Here are the
individual steps to reproduce:

1. Start fresh workspace
2. Create a new Java project - name it "JUnit"
3. Create a new class - name it "Test"
4. Open the Navigator
5. Select the generated class file Test.class
6. Open it
Comment 4 Jerome Lanneluc CLA 2003-12-18 11:26:36 EST
Created attachment 7226 [details]
Proposed patch
Comment 5 Jerome Lanneluc CLA 2004-01-06 05:34:03 EST
Released patch and added regression test AttachSourceTests.testClassFileInOutput
()
Comment 6 David Audel CLA 2004-02-12 10:16:33 EST
Verified for 3.0M7