On 4/21/06, Edward Elliott <[EMAIL PROTECTED]> wrote:
Actually, that's not completely true. The restriction is that you can have only 1 public class in the top-level, but you can have other non-public top-level classes, and jython does not share that restriction.
iirc java doesn't like multiple classes in a single file (not counting
anonymous or inner classes). sounds like jython may have the same
restriction...
Actually, that's not completely true. The restriction is that you can have only 1 public class in the top-level, but you can have other non-public top-level classes, and jython does not share that restriction.
abcd wrote:
> the error i get when i run the exec is, "java.lang.ClassFormatError "...
>
Could you post the examples you're using? In a simple test it works for me.
Cheers,
Fabio
-- http://mail.python.org/mailman/listinfo/python-list