> On 8 Nov 2017, at 08:59, John Rose <[email protected]> wrote:
>
> On Nov 7, 2017, at 1:35 PM, [email protected] <mailto:[email protected]>
> wrote:
>>
>> perhaps getFinalStatic, because it's restricted to final field.
>
> The restriction to final field is because we are expecting the
> method to be used from condy, where it seems to be a syntax
> error to sample a constant from a non-constant variable.
>
> That said, I too would prefer to make it explicit (even in the name)
> that the BSM applies only to static final fields.
>
> So +1 for getStaticFinal instead of getStatic. We also discussed
> this internally back and forth. Your comment pushed me over
> the edge.
>
Updated the CSR to reflect this. I will update the webrev soon.
> ("getFinalStatic" is wrong BTW because "Final" is an extra
> constraint after "getStatic", and because "static final" is the
> usual written order for the corresponding modifiers, not
> "final static", at least in the relevant source bases.)
>
+1
Paul.