test/tools/javac/Closure2.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 Closure2.java * @run main Closure2 */ // Make sure the closure is present when the superclass is constructed. // Specifically, inner2 must have its Closure2.this initialized when inner calls go(). --- 25,35 ---- * @test * @bug 4030374 * @summary Initialization of up-level links, immediately after super(), occurs too late. * @author gafter * ! * @compile Closure2.java * @run main Closure2 */ // Make sure the closure is present when the superclass is constructed. // Specifically, inner2 must have its Closure2.this initialized when inner calls go().