###@###.### 2003-04-30-----------
The following java code:
class Test {
public static void main(String[] args) {
class Inner {
void doSomething() {
System.out.println("inner");
}
}
}
}
when compiled on java previous to 1.4.2beta, creates the following class files:
Test$1$Inner.class Test.class
when compiled on java 1.4.2beta, creates the following class files:
Test$1Inner.class Test.class
The change of the inner class' name breaks packaging scripts which expect to find the file with the old name.
java -fullversion
java full version "1.4.2-beta-b19"
---------------------------------------------------------
The following java code:
class Test {
public static void main(String[] args) {
class Inner {
void doSomething() {
System.out.println("inner");
}
}
}
}
when compiled on java previous to 1.4.2beta, creates the following class files:
Test$1$Inner.class Test.class
when compiled on java 1.4.2beta, creates the following class files:
Test$1Inner.class Test.class
The change of the inner class' name breaks packaging scripts which expect to find the file with the old name.
java -fullversion
java full version "1.4.2-beta-b19"
---------------------------------------------------------