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

Rename JAVA_OPTIONS environment variable to JDK_JAVA_OPTIONS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b157
    • Verification:
      Verified

      Backports

        Description

        JAVA_OPTIONS support added by JDK-8170832 is currently disabled due to the conflict of existing use of JAVA_OPTIONS by applications.

          Issue Links

            Activity

            Hide
            mchung Mandy Chung added a comment -
            We agree to rename <TOOL>_OPTIONS environment variable to `JDK_<TOOL>_OPTIONS`. The multi-word name should minimize the risk of the name clash.

            A few other names are considered such as <TOOL>_LAUNCHER_OPTIONS, <TOOL>_CMD_OPTIONS, or <TOOL>_OPTIONS_9 (version-specific environment variables in 9). This environment variable is for JDK tool and `JDK_` prefix seems the best choice among the other suggested names. We can decide to introduce version-specific env variables in 10 if required.
            Show
            mchung Mandy Chung added a comment - We agree to rename <TOOL>_OPTIONS environment variable to `JDK_<TOOL>_OPTIONS`. The multi-word name should minimize the risk of the name clash. A few other names are considered such as <TOOL>_LAUNCHER_OPTIONS, <TOOL>_CMD_OPTIONS, or <TOOL>_OPTIONS_9 (version-specific environment variables in 9). This environment variable is for JDK tool and `JDK_` prefix seems the best choice among the other suggested names. We can decide to introduce version-specific env variables in 10 if required.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e50de2389390
            User: mchung
            Date: 2017-02-08 00:41:39 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/e50de2389390 User: mchung Date: 2017-02-08 00:41:39 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e50de2389390
            User: lana
            Date: 2017-02-15 20:09:52 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/e50de2389390 User: lana Date: 2017-02-15 20:09:52 +0000

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: