atom feed18 messages in net.sourceforge.lists.jython-devRe: [Jython-dev] Jython 2.7
FromSent OnAttachments
Mark RobertsMar 18, 2014 1:25 pm 
Jim BakerMar 18, 2014 7:32 pm 
Jeff AllenMar 22, 2014 10:26 am 
Jim BakerMar 22, 2014 8:41 pm 
fwie...@gmail.comMar 23, 2014 10:09 am 
fwie...@gmail.comMar 23, 2014 10:15 am 
Josh JuneauMar 23, 2014 3:46 pm 
Indra TalipMar 23, 2014 11:15 pm 
fwie...@gmail.comMar 24, 2014 9:17 am 
Jeff AllenMar 24, 2014 12:43 pm 
Jeff AllenMar 24, 2014 12:58 pm 
fwie...@gmail.comMar 24, 2014 2:06 pm 
Jeff AllenMar 25, 2014 2:19 am 
Indra TalipMar 28, 2014 10:31 pm 
fwie...@gmail.comMar 30, 2014 10:27 am 
Jim BakerApr 22, 2014 2:19 pm 
Jim BakerApr 22, 2014 4:50 pm 
Jeff AllenApr 23, 2014 2:51 pm 
Subject:Re: [Jython-dev] Jython 2.7
From:Jeff Allen (ja.@farowl.co.uk)
Date:Mar 24, 2014 12:43:33 pm
List:net.sourceforge.lists.jython-dev

That's not a display that means a huge lot to me. jython.java:213 is a first call to PySystemState.getBaseProperties(), so I guess the error is while loading PySystemState?

I ran "ant javatest regrtest" on Windows 7 and on Linux before committing the 1.6 to 1.7 change, with only the usual failures. (Slightly fewer on 1.7.)

Is this just running Jython at the prompt? Say if there's something you'd like me to try on my platforms.

Jeff

On 24/03/2014 16:17, fwie@gmail.com wrote:

Progress report: JDK7's verifier is tripping me up around the way we compile exception handlers - I remember that Shashank Bharadwaj did some work on this but it was never merged in. I'm torn on whether to go back to compiling with JDK6 this time around or finding a workaround.

The trouble looks like this:

Exception in thread "main" java.lang.VerifyError: Stack map does not match the one at exception handler 63 Exception Details: Location: org/python/core/PyObject.proxyInit()V @63: astore Reason: Type top (current frame, locals[3]) is not assignable to 'org/python/core/PyObject' (stack map, locals[3]) Current Frame: bci: @52 flags: { } locals: { 'org/python/core/PyObject', 'java/lang/Class', 'org/python/core/PyObject' } stack: { 'java/lang/InstantiationException' } Stackmap Frame: bci: @63 flags: { } locals: { 'org/python/core/PyObject', 'java/lang/Class', top, 'org/python/core/PyObject' } stack: { 'java/lang/InstantiationException' } Bytecode: 0000000: 2ab6 00be b600 d64c 2ab4 00d8 c700 072b 0000010: c700 04b1 12dc 2bb6 00e0 9a00 0912 e2b8 0000020: 00e5 bfb2 00eb b600 f1c0 0002 4db2 00eb 0000030: 2ab6 00f5 2bb6 00f8 c000 dc4e a700 4a3a 0000040: 042b b600 fb3a 0512 fd3a 0619 05c6 0022 0000050: bb00 ff59 b701 0019 06b6 0104 1301 06b6 0000060: 0104 1905 b601 09b6 0104 b601 0c3a 0619 0000070: 06b8 006c bf3a 0413 010e b800 6cbf 3a04 0000080: 1904 b801 12bf b200 eb2c b600 f5a7 000f 0000090: 3a07 b200 eb2c b600 f519 07bf 2ab4 00d8 00000a0: c600 122a b400 d82d a500 0a13 0116 b800 00000b0: 6cbf 2db9 0119 0100 3a04 1904 c600 1019 00000c0: 042a a500 0a13 011b b800 6cbf 2a2d b500 00000d0: d8b1 Exception Handler Table: bci [52, 60] => handler: 63 bci [52, 60] => handler: 117 bci [52, 60] => handler: 126 bci [52, 134] => handler: 144 bci [144, 146] => handler: 144 Stackmap Table: append_frame(@19,Object[#218]) same_frame(@20) same_frame(@35) full_frame(@63,{Object[#2],Object[#218],Top,Object[#2]},{Object[#207]}) append_frame(@111,Object[#207],Object[#218],Object[#156]) full_frame(@117,{Object[#2],Object[#218],Top,Object[#2]},{Object[#209]}) same_locals_1_stack_item_frame(@126,Object[#211]) full_frame(@134,{Object[#2],Object[#218],Object[#220],Object[#2]},{}) full_frame(@144,{Object[#2],Object[#218],Top,Object[#2]},{Object[#276]}) full_frame(@156,{Object[#2],Object[#218],Object[#220],Object[#2]},{}) same_frame(@178) append_frame(@204,Object[#2])

at org.python.util.jython.run(jython.java:213) at org.python.util.jython.main(jython.java:145)

------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech