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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-svc
    • 1.5
    • 5.0
    • b10
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: