test/tools/javac/Closure3.java

Print this page

        

*** 25,35 **** * @test * @bug 4030374 * @summary Initialization of up-level links, immediately after super(), occurs too late. * @author gafter * ! * @compile -source 1.4 -target 1.4 Closure3.java * @run main Closure3 */ // Make sure the closure is present when the superclass is constructed. // Specifically, Closure3.$1 must have its $parameter and $local_var copies initialized when BaseClass calls x(). --- 25,35 ---- * @test * @bug 4030374 * @summary Initialization of up-level links, immediately after super(), occurs too late. * @author gafter * ! * @compile Closure3.java * @run main Closure3 */ // Make sure the closure is present when the superclass is constructed. // Specifically, Closure3.$1 must have its $parameter and $local_var copies initialized when BaseClass calls x().