Community
Participate
Working Groups
1) Create a project. 2) Import in this project the following classes. X is from .class file Y from .java file. [package p; public class X { String s; public X() { s = ""; } public X(String s) { this.s = s; } }] [package p; public class Y { X bar() { return new X("Hello"); } }] 3) You will have an error saying X cannot be resolved or is not a valid type. (11/13/00 5:29:07 PM) NOTES: OT (11/13/00 5:29:11 PM) The builder relies on the Java model to create its states. The package fragment 'p' is tagged as source folder and then the children created for this package fragment are only compilation units. The .class files are filtered. Then the builder is unable to find the .class file corresponding to X and failed.
Need a library entry on the classpath to use .class files as input. Closing
PRODUCT VERSION: Eclipse 011