jextract generates non-existent type reference for typedef on typedef

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: tools
    • generic
    • generic

      File: t.h

      typedef union {
         int i;
         char c;
      } Foo;

      typedef Foo Bar;

      void func(Bar* b);

      ----

      $ jextract -d . t.h

      only t.class (Header class) and t$Bar.class (Struct class) are generated. But t.class has type reference to non-existent t$Foo

      $ javap t

      public interface t {
        public abstract void func(java.foreign.memory.Pointer<t$Foo>);
      }

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: