Issue914158

classification
Title: Jython on JDK1.5.0-beta fails to initialise
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: bzimmer Nosy List: bzimmer, chessdan, fwierzbicki, pedronis, zyasoft
Priority: low Keywords:

Created on 2004-03-11.14:28:15 by chessdan, last changed 2008-09-14.05:46:54 by zyasoft.

Messages
msg893 (view) Author: Daniel Sheppard (chessdan) Date: 2004-03-11.14:28:15
System is WinXP using Sun Java 1.4.2_03 works fine.
Using Sun Java 1.5.0-beta jython throws exception in
initialisation.

Type jython on the command-line and get the response

Exception in thread "main" java.lang.ClassFormatError:
Duplicated LocalVariableTable attribute in class file
org/python/core/PyObject
        at java.lang.ClassLoader.defineClass1(Native
Method)
        at java.lang.ClassLoader.defineClass(Unknown
Source)
        at
java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown
Source)
        at java.net.URLClassLoader.access+100(Unknown
Source)
        at java.net.URLClassLoader+1.run(Unknown Source)
        at
java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown
Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at
java.lang.ClassLoader.loadClassInternal(Unknown Source)
msg894 (view) Author: Samuele Pedroni (pedronis) Date: 2004-05-03.19:13:34
Logged In: YES 
user_id=61408

for the time being, after installation substitute jython.jar

with the one inside 

http://www.jython.org/jython-21-jar-MK4T.zip
msg895 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2006-05-15.17:53:02
Logged In: YES 
user_id=193969

since there is a work around I'm putting this one in the
deferred group for now and lowering its priority to a 4.
msg3583 (view) Author: Jim Baker (zyasoft) Date: 2008-09-14.05:46:54
will not support JDK 1.5 beta for obvious reasons
History
Date User Action Args
2008-09-14 05:46:54zyasoftsetstatus: open -> closed
nosy: + zyasoft
resolution: wont fix
messages: + msg3583
2004-03-11 14:28:15chessdancreate