Generation of synthesized parameters

Alex Buckley alex.buckley at oracle.com
Tue Jan 29 17:00:24 PST 2013


Bridge methods are a kind of synthetic method - there is no normative 
text in the JLS which mandates emission of bridge methods - so the 
parameters of a bridge method would never be synthesized.

Alex

On 1/29/2013 1:41 PM, Remi Forax wrote:
> and what about bridges, should their parameter are synthetized or not ?
>
> class A {
>    private static class B {  // two consructors here, one is a bridges
>    }
>
>    public void main(String[] args) {
>      new B();
>    }
> }
>
> Rémi
>



More information about the compiler-dev mailing list