question about https://bugs.openjdk.java.net/browse/JDK-8042785

David M. Lloyd david.lloyd at redhat.com
Fri May 16 17:19:55 UTC 2014


On 05/16/2014 12:11 PM, Vicente-Arturo Romero-Zaldivar wrote:
> Hi Alex,
>
> Regarding the bug report in the subject. I initially considered it a bug
> but now I'm wondering about the meaning of a final flag in a bridge
> method. Also I didn't find in the spec a reference saying what flags can
> be applied to bridge methods. For example can a bridge method be
> strictfp too?
>
> Thanks,
> Vicente

Why would a final flag have any different meaning for a bridge method?

Also, I don't see any reason why strictfp would be disallowed (bridge 
methods do have bodies after all), though it might not be "strictly" 
useful in practice.  Maybe it'd be relevant to instrumentors though?

-- 
- DML


More information about the compiler-dev mailing list