Message4009
http://jython.svn.sourceforge.net/viewvc/jython?view=rev&revision=5867
fixes the installation part.
But as the attached TESTResource.java demonstrates, java itself has a
problem delivering Class.getResourceAsStream() from inside a .jar file,
if this .jar file is below a directory containing an exclamation mark.
Since we are making heavy usage of getResourceAsStream(), this means:
- installer autotests cannot run
- jython does not startup if installed into a directory containing a
'!'
To reproduce the java problem mentioned above:
- compile TESTResource.java
- put the class file into test.jar, in package st.extreme.jython
- add a text file my.resource into the same directory st/extreme/jython
inside test.jar
- copy test.jar into a directory containing a '!'
- run the following java command:
java -classpath test.jar st.extreme.jython.TESTResource
- and it will complain about a null resource stream |
|
Date |
User |
Action |
Args |
2009-01-07 23:22:26 | otmarhumbel | set | messageid: <1231370546.66.0.602441165101.issue1208@psf.upfronthosting.co.za> |
2009-01-07 23:22:26 | otmarhumbel | set | recipients:
+ otmarhumbel, alv131 |
2009-01-07 23:22:26 | otmarhumbel | link | issue1208 messages |
2009-01-07 23:22:26 | otmarhumbel | create | |
|