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

Local variable type calculation mismatch

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b44
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        This very simple program throws an assertion in code generator about trying to load an uninitialized slot:

        (function (p) {
            var a, b;
            
            a = p ? ((b = 0), b) : 0;

            return a;
        })(true);

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  attila Attila Szegedi
                  Reporter:
                  attila Attila Szegedi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: