Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8041676

remove the java.compiler system property

XMLWordPrintable

    • b20
    • Verified

      The java.compiler property is mentioned in System.getProperties(). It simply says

          java.compiler Name of JIT compiler to use

      This should be deprecated for removal.

      The java.compiler property value of "none" is treated by Hotspot as a synonym for -Xint. This behavior is still active, so if this property is deprecated, perhaps a warning message should be issued before removing it. Then again, lots of things still do -Djava.compiler=none to run in interpretive mode, so it's unclear whether removing this is worth it. Perhaps it should be defined so that "none" (case insensitive) means interpretive mode, and other values are undefined or implementation-specific.

            jpai Jaikiran Pai
            mduigou Mike Duigou
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: