You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/06/25 17:04:26 UTC

[jira] Commented: (HARMONY-2137) [drlvm][classloader][dacapo] DaCapo jython fails

    [ https://issues.apache.org/jira/browse/HARMONY-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507892 ] 

Pavel Pervov commented on HARMONY-2137:
---------------------------------------

Here we have two problems:
1) -XX:v.component.classpath.* adds two path separators to boot class path
2) (1) breaks site.py from jython suite. It reports
--------------------
error importing site
Traceback (innermost last):
  File "/nfs/site/proj/drl/mrt1/users/ppervov/test/dacapo/./scratch/jython/Lib/site.py", line 66, in ?
AttributeError: java package 'sys' has no attribute 'modules'
--------------------

To reproduce (2) run:
java -Xbootclasspath/a:"foo.jar::bar.jar" -jar dacapo-2006-10.jar -s small -n 2 jython

It is not important, what java dacapo is being run on. I was able to reproduce this on Sun's 1.5.0-b64 too. It is also true for MR2 release of dacapo.

(1) should be certainly fixed in DRLVM, but is minor glitch.
(2) Is there a way to file a bug against dacapo?

> [drlvm][classloader][dacapo] DaCapo jython fails
> ------------------------------------------------
>
>                 Key: HARMONY-2137
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2137
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: Linux
>            Reporter: Robin Garner
>
> DaCapo jython fails with what appears to be a python error.  Given that this benchmark runs successfully on at least 6 other Java vms, this would appear to be a problem in drlvm or the harmony classlib.  Easily reproduced with the current release of DaCapo at http://www.dacapobench.org/
> $DRLVM_HOME/jre/bin/java -jar dacapo-20061109.jar -s small -n 2 jython
> *sys-package-mgr*: processing new jar, '/home/robing/tmp/dacapo-nightly-20061109/dacapo-20061109.jar'
> *sys-package-mgr*: processing new jar, 
> ...
> *sys-package-mgr*: processing new jar, '/home/robing/tmp/dacapo-nightly-20061109/harmony/harmony/working_vm/build/lnx_ia32_gcc_release/deploy/jre/lib/ext/signed.bcprov.jar'
> error importing site
> Traceback (innermost last):
>   File "/home/robing/tmp/dacapo-nightly-20061109/./scratch/jython/Lib/site.py", line 66, in ?
> AttributeError: java package 'sys' has no attribute 'modules'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.