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

I18N - Taking Heap Dump failed if project path contains multibyte characters

    XMLWordPrintable

Details

    • b88
    • generic
    • windows_xp
    • Verified

    Backports

      Description

        Java; VM; Vendor = 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23; Sun Microsystems Inc.
        Runtime = Java(TM) SE Runtime Environment 1.6.0_07-b06
        System Locale; Encoding = cs_CZ (nb); Cp1250

        Steps to reproduce the failure using JConsole:

         1/ Create new project AnagramGame (NetBeans) on a path containing special characters.
            I've used "E:\Projects\¿š¿\AnagramGame"
         2/ Start the project from within the IDE
         3/ Start JConsole, select the AnagramGame process and connect to it
         4/ In MBeans tab, navigate to com.sun.management.HotSpotDiagnostic | Operations | dumpHeap
         5/ Enter "E:\Projects\¿š¿\AnagramGame\dump.hprof" for p0 and "true" for p1
         6/ Press the heapDump button, JConsole fails to take the dump and shows an Error dialog

        - when "E:\Projects\¿š¿\AnagramGame\dump.hprof" is used, dumping the heap fails
        - when "E:\Projects\dump.hprof" is used, dumping the heap works as expected

        The same behavior exsist in Japanese locale

        Attachments

          Issue Links

            Activity

              People

                allwin Peter Allwin (Inactive)
                duke J. Duke
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: