| Summary: | ClassCastException with crimson & xerces | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Eran Bartenstein <eranb> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | Darin_Swanson |
| Version: | 3.1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Eran Bartenstein
CC'ing Darin from ant support. Darin, it appears that ant is setting the thread context classloader and never restores it back to the original classloader. Can you check to see if this is what is happening in the ant support? Also, does the ant support include a parser implementation? The Ant bundled with Eclipse does not provide any XML parsing implementation. The user can add XML parsing JARs to the Ant runtime classpath though. Reviewing the code, we do set the context class loader to the Ant classloader during Ant buildfile parsing but in a finally block we restore the original context classloader. I will see if I can reproduce the problem. I believe this is a duplicate of bug 131693 which I am working on a fix. |