On 4 Nov 2024, at 10:47, Brian Goetz wrote:
> This line:
>
>> *Each method of a value class that has its|ACC_SYNCHRONIZED|flag set must
>> also have its|ACC_STATIC|flag set.*
>
> makes me think we might want to take this further. The ACC_SYNCHRONIZED bit
> was a design mistake; it makes for two
Thank you; I prefer going to simplest possible ordering rules,
if I understand this question. (It’s possible I’m missing a point.)
I think the simplest rule is the direct conjunction of two
independent rules: (a) do not make backwards textual references
among initializers, and (b) enforce the ne
I've been looking with Vicente and Ella at the rules for forward references in
field/block initializers. I originally specified it in the JEP 401 language
spec to maximize expressiveness, but I'm now thinking we'd be better off
sticking with the current left-to-right treatment.
Here's a test: