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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: