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

[lworld] Value construction modalities in class file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools
    • generic
    • generic

      ATM, javac translates code in constructors in value classes into a factory method called $makeValue$ and produces a stubbed out method <init> that merely calls the super constructor (to please the verifier and also to please certain phases javac that operate on <init> methods, stubs are retained)

      All construction sites are also translated into a static factory call.

      This ticket is to implement the final version of this scheme.

            sadayapalam Srikanth Adayapalam (Inactive)
            sadayapalam Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: