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

Simplify ClassConstantHelper

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      After JDK-8253255, we no longer use ABI attributes to do classification, but instead use a custom CValueLayout subtype. This type also overrides describeConstable to return a constant descriptor that, upon resolution, will load the corresponding field in CLinker, instead of trying to create a ValueLayout from scratch.

      This means we can remove the jextract code that currently manually tries to do the same, which is unfortunately having to duplicate a lot of code from the layout classes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvernee Jorn Vernee
              Reporter:
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: