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

[LWorld] Withdraw support for __MakeDefault and add support for ValueType.default

    Details

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

      Description

      Presently, for historic reasons, javac reuses/overloads JCNewClass node type
      for modelling default value creation. This is needlessly complicated and for internal consistency sakes requires updating several fields that are irrelevant.

      We should use a custom node type for this purpose as that can significantly reduce code clutter.
       

        Attachments

          Activity

            People

            • Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              sadayapalam Srikanth Adayapalam
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: