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 203194 Details for
Bug 357425
DeltaProcessor misses state changes in archive files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to DeltaProcessor.java
DeltaProcessor357425.txt (text/plain), 2.35 KB, created by
Terry Parker
on 2011-09-12 18:06:59 EDT
(
hide
)
Description:
Patch to DeltaProcessor.java
Filename:
MIME Type:
Creator:
Terry Parker
Created:
2011-09-12 18:06:59 EDT
Size:
2.35 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/DeltaProcessor.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessor.java,v >retrieving revision 1.346 >diff -u -r1.346 DeltaProcessor.java >--- model/org/eclipse/jdt/internal/core/DeltaProcessor.java 9 Sep 2011 09:37:22 -0000 1.346 >+++ model/org/eclipse/jdt/internal/core/DeltaProcessor.java 12 Sep 2011 21:55:25 -0000 >@@ -954,7 +954,7 @@ > // project does not exist -> ignore > continue; > } >- boolean hasChainedJar = false; >+ boolean deltaContainsModifiedJar = false; > for (int j = 0; j < entries.length; j++){ > if (entries[j].getEntryKind() == IClasspathEntry.CPE_LIBRARY) { > IPath entryPath = entries[j].getPath(); >@@ -1024,7 +1024,7 @@ > System.out.println("- External JAR ADDED, affecting root: "+root.getElementName()); //$NON-NLS-1$ > } > elementAdded(root, null, null); >- hasChainedJar |= !this.manager.isNonChainingJar(entryPath); >+ deltaContainsModifiedJar = true; > this.state.addClasspathValidation(javaProject); // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=185733 > hasDelta = true; > } else if (status == EXTERNAL_JAR_CHANGED) { >@@ -1033,7 +1033,7 @@ > System.out.println("- External JAR CHANGED, affecting root: "+root.getElementName()); //$NON-NLS-1$ > } > contentChanged(root); >- hasChainedJar |= !this.manager.isNonChainingJar(entryPath); >+ deltaContainsModifiedJar = true; > hasDelta = true; > } else if (status == EXTERNAL_JAR_REMOVED) { > PackageFragmentRoot root = (PackageFragmentRoot) javaProject.getPackageFragmentRoot(entryPath.toString()); >@@ -1041,7 +1041,7 @@ > System.out.println("- External JAR REMOVED, affecting root: "+root.getElementName()); //$NON-NLS-1$ > } > elementRemoved(root, null, null); >- hasChainedJar |= !this.manager.isNonChainingJar(entryPath); >+ deltaContainsModifiedJar = true; > this.state.addClasspathValidation(javaProject); // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=185733 > hasDelta = true; > } >@@ -1049,7 +1049,7 @@ > } > } > >- if (hasChainedJar) { >+ if (deltaContainsModifiedJar) { > javaProject.resetResolvedClasspath(); > } > }
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 357425
:
203194
|
203195
|
204894
|
205212
|
205507