|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
FULL PRODUCT VERSION :
javac 1.6.0_01
ADDITIONAL OS VERSION INFORMATION :
Win XP (SP2)
A DESCRIPTION OF THE PROBLEM :
This worked in 1.5
public class Test {
private abstract interface X {
static abstract class Y {
private abstract class Z {}
}
}
private static abstract class A {
private static class B extends Test.X.Y {
private class C extends Test.X.Y.Z {}
}
}
/** Creates a new instance of Test */
public Test() {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
}
but not in 1.6 anymore:
Test.java:24: an enclosing instance that contains Test.X.Y.Z is required
private class C extends Test.X.Y.Z {}
1 error
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
not update to 1.6?
|