Issue1796

classification
Title: Jython doesn't support jar dir with colon's in it
Type: behaviour Severity: normal
Components: Core Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, LukeHoersten, fwierzbicki, irmen
Priority: low Keywords: patch

Created on 2011-09-09.15:33:42 by LukeHoersten, last changed 2013-02-26.18:10:25 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
PySystemState.java LukeHoersten, 2011-09-09.15:33:42
Messages
msg6642 (view) Author: Luke Hoersten (LukeHoersten) Date: 2011-09-09.15:33:42
If the jar file being run resides in a path with colons (:) in it, Jython fails to load the jar correctly and is unavailable to the Python code.

PySystemState grabs the jarFileName via getJarFileName() and then later tries to treat the path as a classpath (a combination of jar file paths -- see initPath()).

It's valid for UNIX systems to have colons in the path so Jython should probably support it.

The file I've attached has a one line fix though I'm unsure if it breaks anything else.
msg7164 (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) Date: 2012-05-28.01:47:09
Luke Hoersten: Could you attach the patch instead of whole source file?
msg7797 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-26.18:10:25
This sort of has a patch, but it may not be usable if we don't get a diff.
History
Date User Action Args
2013-02-26 18:10:25fwierzbickisetkeywords: + patch
messages: + msg7797
2013-02-26 18:09:45fwierzbickisetpriority: low
nosy: + fwierzbicki
2012-05-28 01:47:09Arfreversetnosy: + Arfrever, irmen
messages: + msg7164
2011-09-09 15:33:42LukeHoerstencreate