Bug 3235

Summary: PackageFragmentRoot existency check need to be revisited (1GCUNO7)
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/142545
Whiteboard:

Description Philipe Mulet CLA 2001-10-10 22:51:45 EDT
The implementation of PackageFragmentRoot.exists() is checking whether the root is present on the classpath of the owner or in its output location.
This garanties proper working for SourceModel roots and Builder roots.

We probably want to revisit this so as to add new PackageFragmentRoots for denoting BuilderRoot with the output location check in them.
Question: should those roots be created relatively to the owner of the output location (as currently) or relatively to the client of the output 
location (referring project). The latter would look better.

NOTES:
Comment 1 DJ Houghton CLA 2001-10-23 23:52:24 EDT
PRODUCT VERSION:
SDK 48

Comment 2 Philipe Mulet CLA 2001-12-13 10:30:03 EST
Fixed to solve bug 6865.

Pkg root existency check resumed to a simple opening check, and the opening 
code is testing for presence on the classpath.
Comment 3 Eclipse Genie CLA 2019-05-21 14:36:50 EDT
New Gerrit change created: https://git.eclipse.org/r/142545