Code review request: 7085024 internal error; cannot instantiate Foo
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Oct 6 03:50:07 PDT 2011
On 06/10/11 11:01, Rémi Forax wrote:
> On 10/06/2011 11:47 AM, Maurizio Cimadamore wrote:
>> On 29/09/11 01:07, Dmeetry Degrave wrote:
>>> http://bugs.sun.com/view_bug.do?bug_id=7085024
>>>
>>> fix is identical to jdk8, this is a back port to jdk7u.
>>>
>>> webrev : http://cr.openjdk.java.net/~dmeetry/7085024/webrev.00/
>>> jdk8: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b86277584776
>>>
>>> thanks,
>>> dmeetry
>> Approved
>>
>> Maurizio
>
> if botFilter is declared static final,
> the patch is Ok for me.
final yes
static no :-)
it is supposed to be used if you have an instance of Types around [and
the context instantiation protocol will already ensure there's only
_one_ instance of Types]
Maurizio
>
> cheers,
> Rémi
More information about the compiler-dev
mailing list