RFR: 8229372: Static inline fields should allow circularity.

Frederic Parain frederic.parain at oracle.com
Tue Aug 13 19:42:50 UTC 2019


Here’s a changeset to relax the circularity rules
for static fields.

The handling of erroneous situations is not great,
but relaxing rules could allow explorations at
the language level. Error handling would have to
be fixed later (it requires to store the error on
first initialization failure, in order to throw exactly
the same error on further attempts to initialize the field).

CR: https://bugs.openjdk.java.net/browse/JDK-8229372

Webrev: http://cr.openjdk.java.net/~fparain/statics2/webrev.00/index.html

Thank you,


More information about the valhalla-dev mailing list