RFR: 8230662: Remove dead code from MethodTypeForm

Claes Redestad claes.redestad at oracle.com
Mon Sep 9 14:14:11 UTC 2019

On 2019-09-09 13:56, Claes Redestad wrote:
> On 2019-09-09 12:31, Peter Levart wrote:
>> Hi Claes,>> So I think that these @Stable annotations do no good here. Either they 
>> are ineffective in cases where MethodTypeForm instances are not 
>> constant-folded, or they render caching ineffective when 
>> MethodTypeForm instances are constant-folder and SoftReference(s) are 
>> cleared. In either case it would be better without them.
>> What do you think?
> You might be right, and this should be examined.

I agree the @Stable should be removed here, and filed a bug to that 
effect: https://bugs.openjdk.java.net/browse/JDK-8230768


More information about the core-libs-dev mailing list