Uploaded image for project: 'PyLucene'
  1. PyLucene
  2. PYLUCENE-28

JCC reuses JVM instances in impl, if compile() is called twice.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • jcc-svn-head (2.18-pre)

    Description

      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

      Attachments

        1. jvm_instance_check.patch
          0.6 kB
          Martin Scherer

        Activity

          People

            Unassigned Unassigned
            marscher Martin Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: