Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115551 - jython install doesn't compile jreload java files
Summary: jython install doesn't compile jreload java files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 09:43 UTC by Paul T. Darga
Modified: 2007-01-18 15:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul T. Darga 2005-12-14 09:43:34 UTC
The jython ebuild does not compile the .java files installed in
/usr/share/jython/Lib/jxxload_help, making "import jreload" fail.  Simply
compiling those files with "javac -source 1.4 -classpath ../../lib/jython.jar"
fixes the problem.

Reproducible: Always
Steps to Reproduce:
1.emerge jython
2.start jython
3.import jreload

Actual Results:  
Jython 2.1 on java1.4.2_10 (JIT: null)                                          
Type "copyright", "credits" or "license" for more information.                  
>>> import jreload                                                              
Traceback (innermost last):                                                     
  File "<console>", line 1, in ?                                                
  File "/usr/share/jython/Lib/jreload.py", line 17, in ?                        
AttributeError: java package 'jxxload_help' has no attribute 'JavaLoaderFactory'
>>>
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-18 15:40:47 UTC
Fixed in CVS in jython-2.1-r11, thanks for reporting!