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 67428 Details for
Bug 162054
[build] Got a failure on MultiProjectTests.testCycle5 on my speedy test box...
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Will this do the trick ?
patch.txt (text/plain), 1.58 KB, created by
Kent Johnson
on 2007-05-16 11:34:39 EDT
(
hide
)
Description:
Will this do the trick ?
Filename:
MIME Type:
Creator:
Kent Johnson
Created:
2007-05-16 11:34:39 EDT
Size:
1.58 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/builder/State.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/State.java,v >retrieving revision 1.60 >diff -u -r1.60 State.java >--- model/org/eclipse/jdt/internal/core/builder/State.java 16 Mar 2007 18:28:59 -0000 1.60 >+++ model/org/eclipse/jdt/internal/core/builder/State.java 16 May 2007 15:33:20 -0000 >@@ -66,10 +66,17 @@ > this.typeLocators = new SimpleLookupTable(7); > > this.buildNumber = 0; // indicates a full build >- this.lastStructuralBuildTime = System.currentTimeMillis(); >+ this.lastStructuralBuildTime = computeStructuralBuildTime(javaBuilder.lastState == null ? 0 : javaBuilder.lastState.lastStructuralBuildTime); > this.structuralBuildTimes = new SimpleLookupTable(3); > } > >+long computeStructuralBuildTime(long previousTime) { >+ long newTime = System.currentTimeMillis(); >+ if (newTime <= previousTime) >+ newTime = previousTime + 1; >+ return newTime; >+} >+ > void copyFrom(State lastState) { > this.knownPackageNames = null; > this.previousStructuralBuildTime = lastState.previousStructuralBuildTime; >@@ -354,7 +361,7 @@ > void tagAsStructurallyChanged() { > this.previousStructuralBuildTime = this.lastStructuralBuildTime; > this.structurallyChangedTypes = new StringSet(7); >- this.lastStructuralBuildTime = System.currentTimeMillis(); >+ this.lastStructuralBuildTime = computeStructuralBuildTime(this.previousStructuralBuildTime); > } > > boolean wasStructurallyChanged(IProject prereqProject, State prereqState) {
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 162054
:
67402
| 67428