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

jni spec should specify which characters are unicode-escaped when mangling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b95)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b95, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      the jni spec (and the evaluation of bug JDK-4218179) claim that mangled names contain _0xxxx mangling for "non-ASCII Unicode characters", though experiment shows that it's obviously *much* more restrictive than that. as far as i can tell, it should say "characters other than [A-Za-z0-9]".


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsimms David Simms
                Reporter:
                ndcosta Nelson Dcosta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: