Return-Path: Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: (qmail 13873 invoked from network); 3 Mar 2011 03:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 03:46:46 -0000 Received: (qmail 49430 invoked by uid 500); 3 Mar 2011 03:46:44 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 49191 invoked by uid 500); 3 Mar 2011 03:46:39 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 49104 invoked by uid 99); 3 Mar 2011 03:46:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 03:46:36 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=MIME_QP_LONG_LINE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [173.228.80.32] (HELO ovaltofu.org) (173.228.80.32) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 03:46:32 +0000 Received: from [192.168.0.8] ([192.168.0.8]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id p233k1vL001066 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 2 Mar 2011 19:46:06 -0800 (PST) Subject: Re: issue with automatic iterable detection? References: <40057.1298761662@parc.com> <68762.1298830136@parc.com> From: Andi Vajda Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8C148) In-Reply-To: Message-Id: Date: Wed, 2 Mar 2011 19:46:04 -0800 To: "pylucene-dev@lucene.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8C148) Bill, Did that solve your problem ? Andi.. On Feb 28, 2011, at 20:05, Andi Vajda wrote: >=20 > On Sun, 27 Feb 2011, Bill Janssen wrote: >=20 >> Andi Vajda wrote: >>=20 >>> It may be simplest if you can send me the source file for this class >>> as well as a small jar file I can use to reproduce this ? >>=20 >> Turns out to be simple to reproduce. Put the attached in a file called >> test.java, and run this sequence: >>=20 >> % javac -classpath . test.java >> % jar cf test.jar *.class >> % python -m jcc.__main__ --python test --shared --jar /tmp/test.jar --bui= ld --vmarg -Djava.awt.headless=3Dtrue >=20 > This was a tougher one. It was triggered by a combination of things: > - no wrapper requested for java.io.File or --package java.io > - a subclass of a parameterized class or interface implementor of a > parameterized interface wasn't pulling in classes used as type > parameters (java.io.File here). >=20 > A fix is checked into jcc trunk/branch_3x rev 1075642. > This also includes the earlier fix about using absolute class names. >=20 > Andi..