Compiler Implementation for Flexible Constructor Bodies (Second Preview)

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b25

      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.

            Assignee:
            Archie Cobbs
            Reporter:
            Gavin Bierman
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: