-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.1, 1.1.4
-
x86, sparc
-
solaris_2.5, windows_nt
The following code compiles with javac of JDK1.0.2 but fails to compile
with JDK1.1 final:
% cat x.java
package x;
public class x {
public void foo(x.x a) {}
}
% javac x.java
x.java:4: Class x.x. x not found in type declaration.
public void foo(x.x a) {}
^
1 error
We bought a third party tool that we want to ship with our C++ compiler and
this tool produces code similar to the above.
----------------------------------------------
mukesh.kapoor@Eng 1997-05-06
If this bug won't be fixed then please document clearly that JDK1.1 is
not fully source compatible with JDK1.0.2. Please list all the areas that
break source compatibility.
with JDK1.1 final:
% cat x.java
package x;
public class x {
public void foo(x.x a) {}
}
% javac x.java
x.java:4: Class x.x. x not found in type declaration.
public void foo(x.x a) {}
^
1 error
We bought a third party tool that we want to ship with our C++ compiler and
this tool produces code similar to the above.
----------------------------------------------
mukesh.kapoor@Eng 1997-05-06
If this bug won't be fixed then please document clearly that JDK1.1 is
not fully source compatible with JDK1.0.2. Please list all the areas that
break source compatibility.
- relates to
-
JDK-4053302 compilation error with 1.1 compiler, 1.0.2 works fine.
-
- Closed
-