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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: tools
    • b24
    • 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.

            Assignee:
            Manuel Hässig
            Reporter:
            Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: