Re: issue with automatic iterable detection?

2011-03-07 Thread Bill Janssen
Andi Vajda wrote: > >> Probably an array being used as a type parameter ? > > > > Like this? > > > > public ArrayList state; > > > > Or > > > > public class foo2 implements Iterator{ > > > > Or > > > > public int[] next() { > > Although rigging up your original test.java class to use

Re: issue with automatic iterable detection?

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: Where does t_JArray get defined? I can't find it. I'm not sure there is one. If you can provide me with a piece of Java to reproduce this, I can fix it faster. I've

Re: issue with automatic iterable detection?

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: Where does t_JArray get defined? I can't find it. I'm not sure there is one. If you can provide me with a piece of Java to reproduce this, I can fix it faster. I've

Re: issue with automatic iterable detection?

2011-03-07 Thread Bill Janssen
Andi Vajda wrote: > > On Mon, 7 Mar 2011, Bill Janssen wrote: > > > Andi Vajda wrote: > > > >> Where does t_JArray get defined? I can't find it. > >> > >> I'm not sure there is one. If you can provide me with a piece of Java > >> to reproduce this, I can fix it faster. > > > > I've narrow

Re: issue with automatic iterable detection?

2011-03-07 Thread Bill Janssen
Andi Vajda wrote: > Where does t_JArray get defined? I can't find it. > > I'm not sure there is one. If you can provide me with a piece of Java > to reproduce this, I can fix it faster. I've narrowed this down to three iterator classes which cause this issue. Now I've got to see what's t

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Roman Chyla
On Mon, Mar 7, 2011 at 6:59 PM, Bill Janssen wrote: > Andi Vajda wrote: > >> > So, I went to my Mac, and looked for libjcc.dylib.  Sure enough, >> > it's there.  So I tried this simple program: >> > >> > import org.apache.jcc.PythonVM; >> > >> > public class test { >> > >> >    public static void

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import org.apache.jcc.PythonVM; public class test { public static void main (String[] argv) { PythonVM.start("/

Re: issue with automatic iterable detection?

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: On Thu, 3 Mar 2011, Andi Vajda wrote: On Mar 3, 2011, at 22:09, Bill Janssen wrote: Here's one of the generated lines that's causing me grief. DECLARE_TYPE(RankIterator, t_RankIterator, ::java::lang::Object, RankIterator,

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Andi Vajda
On Mon, 7 Mar 2011, Bill Janssen wrote: Andi Vajda wrote: So, I went to my Mac, and looked for libjcc.dylib. Sure enough, it's there. So I tried this simple program: import org.apache.jcc.PythonVM; public class test { public static void main (String[] argv) { PythonVM.start("/

Re: issue with automatic iterable detection?

2011-03-07 Thread Bill Janssen
Andi Vajda wrote: > > On Thu, 3 Mar 2011, Andi Vajda wrote: > > > > > On Mar 3, 2011, at 22:09, Bill Janssen wrote: > > > >> Here's one of the generated lines that's causing me grief. > >> > >>DECLARE_TYPE(RankIterator, t_RankIterator, ::java::lang::Object, > >> RankIterator, t_RankIterat

Re: using org.apache.jcc.PythonVM

2011-03-07 Thread Bill Janssen
Bill Janssen wrote: > Andi Vajda wrote: > > > > I did patch setuptools, and as you can see below, the config.py says > > > "Shared=True", so I believe I have shared mode enabled. I'm certainly > > > using jcc with the "--shared" switch with no complaints. > > > > Something's off. libjcc.so is