XX:CompileCommand in bin/setenv.sh does not work on non-Sun JSKs (OS X, IBM ...)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 3.6
    • Affects Version/s: 3.5.2
    • Component/s: Installation
    • Environment:

      IBM JDK 1.4.2, OSX ??

    • 3.05

      The following line was introduced to workaround a bug in the Sun JDK (see JRA-9198 ). To fix this, remove the following from bin/setenv.sh:

      -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody
      

      If this line is not removed the following error is thrown in OSX:

      Unrecognized VM option 'CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody'
      Could not create the Java virtual machine.
      

      and the IBM JDK says this:

      The JVM option is invalid: -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody
      Could not create the Java virtual machine.
      

              Assignee:
              Dylan Etkin [Atlassian]
              Reporter:
              DonnaA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: