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

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

XMLWordPrintable

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

      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)

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

              Created:
              Updated:
              Resolved: