| Summary: | [discovery] Cache jars downloaded by RemoteBundleDiscoveryStrategy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Pascal Rapicault <pascal> | ||||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | 3.7 M5 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 334707 | ||||||||
| Attachments: |
|
||||||||
|
Description
Pascal Rapicault
Created attachment 186662 [details]
Potential patch
The attached patch contains a port of the CacheManager used to cache repositories.
One potential problem, if the catalogs change their URLs overtime we could have a buildup of files in the cache. (CacheManager for repositories listens to the event bus for remove events to remove cached data.)
Created attachment 187013 [details]
Updated fix
Made a few changes to ensure streams were closed.
I have released a slightly corrected version of that patch. |