Summary: | [compiler] repeat mode is broken in the batch compiler | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | ||||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.1.1 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Olivier Thomann
2005-07-21 10:28:13 EDT
Created attachment 25132 [details]
Proposed fix
I simply use the zipFile internally. The zipFile is created again using the
file in the second iteration.
I am working on a better patch. Created attachment 25135 [details]
Proposed fix
New patch. The zip file is created in an initialize method. This is called only
when the library is retrieved, so this doesn't penalize any subsequent calls to
isPackage(...) or findClass(...).
Fixed and released in HEAD. Regression test in org.eclipse.jdt.core.tests.compiler.regression.BatchCompilerTest.test033 Backported to 3.1 maintenance stream. Verified with 3.2 M1 Verified for 3.2 M2 with build I20050920-0010. Verified using M20050923-1430 for 3.1.1 |