Message2073

Author philipa
Recipients
Date 2008-02-16.13:12:34
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
2.2.1 fails to calculate a reasonable default cachedir when jython.jar is loaded as a manifest classpath:

% ls
MANIFEST.MF
% cat MANIFEST.MF 
Manifest-Version: 1.0
Class-Path: jython.jar

% jar cfm test.jar MANIFEST.MF
% cp /opt/jython/jython2.2.1/jython.jar .
% java -cp test.jar org.python.util.jython 
*sys-package-mgr*: can't create package cache dir, '/tmp/bug/jython.jar/cachedir/packages'
Jython 2.2.1 on java1.4.2_11
>>> 


2.2a1 was fine:


% cp /opt/jython/jython-2.2a1/jython.jar  .
% java -cp test.jar org.python.util.jython 
*sys-package-mgr*: processing new jar, '/tmp/bug/test.jar'
*sys-package-mgr*: processing new jar, '/opt/bea-816/jdk142_11/jre/lib/rt.jar'
...
Jython 2.2a1 on java1.4.2_11 (JIT: null)
>>> 
% ls
cachedir/  jython.jar  MANIFEST.MF  test.jar
History
Date User Action Args
2008-02-20 17:18:11adminlinkissue1894900 messages
2008-02-20 17:18:11admincreate