Title: Jython doesn't support jar dir with colons in it
Type: behaviour Severity: normal
Components: Core Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, LukeHoersten, fwierzbicki, irmen, jeff.allen, zyasoft
Priority: low Keywords:

Created on 2011-09-09.15:33:42 by LukeHoersten, last changed 2018-03-17.09:25:07 by jeff.allen.

File name Uploaded Description Edit Remove LukeHoersten, 2011-09-09.15:33:42
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.
msg9634 (view) Author: Jim Baker (zyasoft) Date: 2015-03-12.00:35:33
msg11820 (view) Author: Jeff Allen (jeff.allen) Date: 2018-03-17.09:25:07
Not 2.7.1 obviously (or .2 necessarily). A modified copy of from 2011 isn't going to work as a patch. I would guess that to reproduce this we install to, or put the standalone jar in such a path?
Date User Action Args
2018-03-17 09:25:07jeff.allensetkeywords: - patch
nosy: + jeff.allen
messages: + msg11820
title: Jython doesn't support jar dir with colon's in it -> Jython doesn't support jar dir with colons in it
2015-03-12 00:35:33zyasoftsetnosy: + zyasoft
messages: + msg9634
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