Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8325803 Flexible Constructor Bodies (Second Preview)
  3. JDK-8325805

Compiler Implementation for Flexible Constructor Bodies (Second Preview)

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • P4
    • None
    • None
    • tools
    • None
    • In Review

    Description

      This is an extension of the "statements before super()" work of JDK-8194743.

      The new addition is: in constructor prologues, instead of completely disallowing access to instance fields, make an exception to allow assignments to instance fields that are not inherited from superclasses.

      Attachments

        Issue Links

          Activity

            People

              acobbs Archie Cobbs
              gbierman Gavin Bierman
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: