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