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

Compiler Implementation for Flexible Constructor Bodies (Second Preview)

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: