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