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

javadoc does not decode options containing '=' and ':' correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b158
    • Not verified

        ToolOption.get does not detect the option name correctly. It should use the first of ':', '=', not prefer ':' over '='.

            static ToolOption get(String name) {
                String oname = name;
                if (name.contains(":")) {
                    oname = name.substring(0, name.indexOf(':') + 1);
                } else if (name.contains("=")) {
                    oname = name.substring(0, name.indexOf('='));
                }

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: