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

jextract of va_list function produces incorrect method type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • tools
    • x86
    • linux

      The below header file produces an incorrect method type:

      #include <stdarg.h>
      int foo(const char* format, va_list va);

      Specifically, the generated interface will look something like this:

      public interface vastuff {
        public abstract int foo(java.nicl.types.Pointer<java.lang.Byte>, jextract.dump.usr_lib_llvm_3_7_lib_clang__3_7_1_include_stdarg$__va_list_tag[]);
      }

            henryjen Henry Jen
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: