Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903667

Functional interface name nested inside function pointer class should be mangled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      Consider this declaration:

      typedef void (*Function)(int);

      This generates a nested functional interface (Function) inside an enclosing class of the same name (Function). Which is not allowed by the Java language.

      The name of the functional interface should be mangled.

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: