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

native method name length limit is not specified

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description


      The JNI test nmtd003 calls a native method with a very long name.
      Java does not impose any limit on method name length (or
      in fact the limit on utf8 string constants is 64K), there is
      no limit on how long the mangled name can be.
      Most C compilers support long names because that's what C++ wants.
      But some C compilers on specific have limitation for name length.
      JNI-specification musts define that C compilers that can work with
      the JNI should support a reasonable maximum name length.

        Attachments

          Activity

            People

            Assignee:
            abuckley Alex Buckley
            Reporter:
            ichebykisunw Igor Chebykin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: