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

Static inline fields should allow circularity.

XMLWordPrintable

      An inline class should be able to have static inline fields referencing itself (directly or indirectly) without triggering ClassCircularityError or IncompatibleClassChangeError.
      As discussed with the team, the solution is to not flatten static inline fields and to delay the initialization of these fields to the class initialization phase (step 8).

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: