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 106243 Details for
Bug 229092
[batch compiler] error reporting is non-deterministic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch for (1)
229092.txt (text/plain), 2.02 KB, created by
Philipe Mulet
on 2008-07-01 12:14:12 EDT
(
hide
)
Description:
Proposed patch for (1)
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2008-07-01 12:14:12 EDT
Size:
2.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: batch/org/eclipse/jdt/internal/compiler/batch/Main.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java,v >retrieving revision 1.329 >diff -u -r1.329 Main.java >--- batch/org/eclipse/jdt/internal/compiler/batch/Main.java 27 Jun 2008 16:04:10 -0000 1.329 >+++ batch/org/eclipse/jdt/internal/compiler/batch/Main.java 1 Jul 2008 16:12:49 -0000 >@@ -2700,26 +2700,7 @@ > } > Main.this.logger.startLoggingSource(compilationResult); > if (compilationResult.hasProblems() || compilationResult.hasTasks()) { >- int localErrorCount = Main.this.logger.logProblems(compilationResult.getAllProblems(), compilationResult.compilationUnit.getContents(), Main.this); >- // exit? >- if (Main.this.systemExitWhenFinished && !Main.this.proceedOnError && (localErrorCount > 0)) { >- // ensure dumping problems for enqueued units as well, since may contain primary errors (123476) >- CompilationUnitDeclaration[] queuedUnits = Main.this.batchCompiler.unitsToProcess; >- for (int i = 0, length = Main.this.batchCompiler.totalUnits; i < length; i++) { >- CompilationUnitDeclaration queuedUnit = queuedUnits[i]; >- if (queuedUnit == null) continue; >- CompilationResult result = queuedUnit.compilationResult; >- if (result.hasProblems() && !result.hasBeenAccepted) { >- Main.this.logger.logProblems(result.getAllProblems(), result.compilationUnit.getContents(), Main.this); >- } >- } >- Main.this.logger.endLoggingSource(); >- Main.this.logger.endLoggingSources(); >- Main.this.logger.printStats(); >- Main.this.logger.flush(); >- Main.this.logger.close(); >- System.exit(-1); >- } >+ Main.this.logger.logProblems(compilationResult.getAllProblems(), compilationResult.compilationUnit.getContents(), Main.this); > } > outputClassFiles(compilationResult); > Main.this.logger.endLoggingSource();
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 229092
: 106243