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

improve jextract source generation mode and remove class generation

    XMLWordPrintable

    Details

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

      Description

      Jextract has two different backends - one generates bytecode, while the other generates sources. The bytecode generation, based on dynamic constants, is more efficient, but it's typically harder to work with. IDEs have issues in parsing classfiles containing dynamic constants, and there's no path to add things like javadoc.

      For these reasons, it would be best for jextract to find a way to have a source-based generation scheme that is lazier than the one we currently have.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: