Issue1796
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 |
PySystemState.java
|
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 |
|
2.7.1
|
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 PyStstremState.java 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:07 | jeff.allen | set | keywords:
- 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:33 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg9634 |
2013-02-26 18:10:25 | fwierzbicki | set | keywords:
+ patch messages:
+ msg7797 |
2013-02-26 18:09:45 | fwierzbicki | set | priority: low nosy:
+ fwierzbicki |
2012-05-28 01:47:09 | Arfrever | set | nosy:
+ Arfrever, irmen messages:
+ msg7164 |
2011-09-09 15:33:42 | LukeHoersten | create | |
|