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

Bug 363512

Summary: [console] [source lookup] Java stack trace console links to class files
Product: [Eclipse Project] JDT Reporter: elatllat <elatllat>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description elatllat CLA 2011-11-10 13:12:00 EST
Build Identifier: M20110909-1335

this did not happen in previous versions.
the search is not honoring the "order and export" list.
so if you add a class folder to the libraries with some classes overlapping the java files in the project the Java stack trace console links to the .class instead of the .java

Reproducible: Always

Steps to Reproduce:
1.make a project with some java files in it
2.add a class folder to the libraries with one class that overlaps a java
3.paste in a stack trace with that class and it will link to the wrong file
Comment 1 Markus Keller CLA 2011-11-11 11:09:18 EST
It depends on the ordering of the build path. If the class folder is in front of the source folder, then the .class file is the right one.
Comment 2 elatllat CLA 2011-11-11 11:19:38 EST
(In reply to comment #1)
> It depends on the ordering of the build path. If the class folder is in front
> of the source folder, then the .class file is the right one.

Hi Markus,
thanks for the comment
As I said it is not honoring the "order and export" list.
The class folder is after the source folder.
(it obviously would not have worked in previous versions if this were not the case)
Comment 3 Markus Keller CLA 2011-11-14 06:10:22 EST
This should be fixed in 3.8 builds, see bug 348507.

*** This bug has been marked as a duplicate of bug 348507 ***