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

[LWorld] Missing translation in value construction using classic constructor notation

    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

      Excerpt from http://mail.openjdk.java.net/pipermail/valhalla-dev/2018-July/004616.html

      //------------------

      > - don't you need also to override visitApply in case the constructor
      > is calling an instance method on the value being constructed?

      This will be covered as part of JDK-8205910

      //---------------------

      The required visitApply override was overlooked in the fix for JDK-8205910
      and this must be fixed - otherwise the generated code may fail to verify when there are instance method invocations in the constructor (after all instance field are definitely assigned)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: