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

prepare jextract tests for generated header, static forwarder name pattern change

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • tools
    • generic
    • generic

      Currently jextract generates "foo" interface and "foo_h" static forwarder class for header file "foo.h". To fix JDK-8221471 (jextract source genarator generates non-compilable classes with naming clashes), we plan to rename jextract generated header interface and static forwarder class names.

      There are many jextract tests that hard code the naming pattern everywhere. It is better to localize these so that naming pattern can be changed in one place. There are many jextract tests that have static (compile time) dependency on jextract generated class/interface names. Those tests have to be manually fixed whenever naming pattern is changed. But the tests that use dynamic/computed name can be handled by centralizing the class/interface naming pattern in one place.

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: