Pax-Runner 0.18.0 fails on Windows

Description

FYI, running Pax-Runner 0.18.0 on Windows will start up Felix, but then shows exceptions installing bundles:

Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesosgi.compendium_4.1.0.build-200702212030.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesorg.apache.felix.shell_1.2.0.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesorg.apache.felix.shell.tui_1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesosgi.compendium_4.1.0.build-200702212030.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesorg.apache.felix.shell_1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to cache bundle: file:bundlesorg.apache.felix.shell.tui_1.2.0.jar

because the bundle URLs use Windows file separators () ... this looks like a bug in normalizeAsUrl from PlatformContextImpl.java which just takes the OS specific path and prepends "file:" whereas it should at least change the separator into the standard ... and perhaps further encoding/decoding might be required?

Environment

None

Status

Assignee

StuartS

Reporter

StuartS

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure