| Summary: | ApplicationLauncherImpl#getContextFileName calls BundleContext.getDataFile(String) with absolute Path | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Frank Appel <fr.appel> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Frank Appel
I cannot reproduce the NPE with current Equinox OSGi, where getDataFile() seems to accept absolute paths as well. For both "/rwtcontext_xxx" and "rwtcontext_xxx", the same file name is returned. This might explain why this issue wasn't noticed. So I think it's safe to simply remove the leading slash. The change is in CVS and will be part of 1.5RC1. |