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)

Reply via email to