[1/7/97 jrose]
See the attachment dnd.instructions.mai for instructions on how to reproduce
this bug.
[end jrose]
JDK 1.1 beta javac fails to find imported classes.
We have classes that compile fine under JDK 1.0.2, but will not under JDK 1.1 beta.
The following is the relevant portion of the build:
Making java classes in /export/src/remon_expert/sfbg/src/dnd/tests
rm -f ../../../src/classes/dndTest/*.class
javac -g -d ../../../src/classes -classpath .:..:../../classes:/usr/java/lib/classes.zip:/usr/JWS/JDK/classes:/usr/JWS/JDK/lib/classes.zip TestDnD.java TestDnDArea.java TestDnDFrame.java
TestDnDFrame.java:11: Superclass DnDFrameBase of class TestDnDFrame not found. <======= Here's the problem ============================
public class TestDnDFrame extends DnDFrameBase {
^
TestDnDArea.java:12: Interface DnDTarget of class TestDnDArea not found.
public class TestDnDArea extends Panel implements DnDSource, DnDTarget {
^
TestDnDArea.java:12: Interface DnDSource of class TestDnDArea not found.
public class TestDnDArea extends Panel implements DnDSource, DnDTarget {
^
..//DnDCoordinator.java:22: Class dnd.DnDCoordinator already defined in DnDCoordinator.java. <=========== This is yet another bug!!! =====
public class DnDCoordinator {
^
TestDnD.java:14: Class DnDCoordinator not found in type declaration.
private DnDCoordinator _coordinator;
^
TestDnD.java:17: Class DnDCoordinator not found in type declaration.
_coordinator = new DnDCoordinator();
^
6 errors
*** Error code 1
See the attachments for the source.
See the attachment dnd.instructions.mai for instructions on how to reproduce
this bug.
[end jrose]
JDK 1.1 beta javac fails to find imported classes.
We have classes that compile fine under JDK 1.0.2, but will not under JDK 1.1 beta.
The following is the relevant portion of the build:
Making java classes in /export/src/remon_expert/sfbg/src/dnd/tests
rm -f ../../../src/classes/dndTest/*.class
javac -g -d ../../../src/classes -classpath .:..:../../classes:/usr/java/lib/classes.zip:/usr/JWS/JDK/classes:/usr/JWS/JDK/lib/classes.zip TestDnD.java TestDnDArea.java TestDnDFrame.java
TestDnDFrame.java:11: Superclass DnDFrameBase of class TestDnDFrame not found. <======= Here's the problem ============================
public class TestDnDFrame extends DnDFrameBase {
^
TestDnDArea.java:12: Interface DnDTarget of class TestDnDArea not found.
public class TestDnDArea extends Panel implements DnDSource, DnDTarget {
^
TestDnDArea.java:12: Interface DnDSource of class TestDnDArea not found.
public class TestDnDArea extends Panel implements DnDSource, DnDTarget {
^
..//DnDCoordinator.java:22: Class dnd.DnDCoordinator already defined in DnDCoordinator.java. <=========== This is yet another bug!!! =====
public class DnDCoordinator {
^
TestDnD.java:14: Class DnDCoordinator not found in type declaration.
private DnDCoordinator _coordinator;
^
TestDnD.java:17: Class DnDCoordinator not found in type declaration.
_coordinator = new DnDCoordinator();
^
6 errors
*** Error code 1
See the attachments for the source.
- duplicates
-
JDK-4019349 JDK 1.1 beta javac Compiling class - claims class already exists
- Closed
-
JDK-4042208 Single-type import statement not working for separately compiled program units.
- Closed
-
JDK-4306482 # Need improved diagnostics for misplaced source files and ill-formed classpath
- Closed