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

tools/launcher/ToolsOpts.java fails if the build id contains "-J"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • tools
    • generic
    • generic

      The second test case in tools/launcher/ToolsOpts.java passes `-J-version` to a patched javac. This prints, among other things, the build id. If the build id happens to contain the substring "-J", e.g. when it contains "-JDK-" as a substring", the check to ensure that no "-J" arguments are passed to the launcher fails.

            mhaessig Manuel Hässig
            mhaessig Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: