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

[lworld] Value construction modalities in class file

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. CheckcastTest.jtr
          13 kB
          Harold Seigel
        2. TestLWorld.java
          4 kB
          Harold Seigel

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: