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

UTF8: java -agent/-agentlib/-Xrunjdwp options not all treated as modified utf-8

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      1.5
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic

      Description

      The options string coming into Agent_OnLoad() are in modified UTF-8.

      There are multiple strings at issue here, the transport option, and the launch option,
      and the onthrow option.

      See suggested fix.

      This will prevent any non ISO-Latin characters from being treated properly
      when loading this agent, e.g. launch=foobar where foobar contains any
      non-ISO-Latin characters will likely not work, unless the platform encoding
      in indeed UTF-8 (unlikely).

      ###@###.### 2004-04-27
      ###@###.### 10/8/04 00:23 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ohair Kelly Ohair (Inactive)
                Reporter:
                ohair Kelly Ohair (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: