Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 4319 Details for
Bug 35561
No source found if attached file contains 2 potential root paths
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply this patch on SourceMapper.java
patch_for_35561.txt (text/plain), 1.20 KB, created by
Olivier Thomann
on 2003-03-24 09:28:13 EST
(
hide
)
Description:
Apply this patch on SourceMapper.java
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2003-03-24 09:28:13 EST
Size:
1.20 KB
patch
obsolete
>Index: SourceMapper.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/SourceMapper.java,v >retrieving revision 1.69 >diff -u -r1.69 SourceMapper.java >--- SourceMapper.java 11 Mar 2003 15:03:55 -0000 1.69 >+++ SourceMapper.java 24 Mar 2003 14:23:11 -0000 >@@ -295,7 +295,9 @@ > > private void computeAllRootPaths(IType type) { > IPackageFragmentRoot root = (IPackageFragmentRoot) type.getPackageFragment().getParent(); >- this.rootPaths = new HashSet(); >+ if (this.rootPaths == null) { >+ this.rootPaths = new HashSet(); >+ } > long time = 0; > if (VERBOSE) { > System.out.println("compute all root paths for " + root.getElementName()); //$NON-NLS-1$ >@@ -315,7 +317,7 @@ > String entryName = entry.getName(); > if (!entry.isDirectory()) { > int index = entryName.indexOf('/'); >- if (index != -1) { >+ if (index != -1 && Util.isClassFileName(entryName)) { > String firstLevelPackageName = entryName.substring(0, index); > if (JavaConventions.validatePackageName(firstLevelPackageName).isOK()) { > firstLevelPackageNames.add(firstLevelPackageName);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35561
:
4313
| 4319