lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PYLUCENE-28) JCC reuses JVM instances in impl, if compile() is called twice.
Date Mon, 04 Nov 2013 12:56:17 GMT
Martin created PYLUCENE-28:
------------------------------

             Summary: JCC reuses JVM instances in impl, if compile() is called twice.
                 Key: PYLUCENE-28
                 URL: https://issues.apache.org/jira/browse/PYLUCENE-28
             Project: PyLucene
          Issue Type: Improvement
         Environment: jcc-svn-head (2.18-pre)
            Reporter: Martin
            Priority: Blocker


If you import jcc.cpp to call compile yourself (a wrapped setup.py script to generate a wrapper
on the fly, which seems to be a common use case), the current version complains about the
JVM already being initialized before.

The patch first checks for a running instance and creates one, if none is being found.

For myself, this is a blocker, since it raises otherwise.

Best, 
Martin



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message