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

deprecate the java.compiler system property for removal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smarks Stuart Marks
              Reporter:
              mduigou Mike Duigou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: