Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 112854

Summary: org.eclipse.jdt.internal.compiler.batch.Main.compile() does not find dependent classes.
Product: [Eclipse Project] JDT Reporter: Bala Balakumran <balakuma>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: deboer, yenlu
Version: 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Bala Balakumran CLA 2005-10-17 16:12:16 EDT
We have an eclipse based application that calls 
org.eclipse.jdt.internal.compiler.batch.Main.compile() for directly
compiling some java files.  When A.java references B.java
and only A.java is passed to the compile we get the compile error message
class B not found.  This is happening in 3.1.1

When the org.eclipse.jdt.core_3.1.0 jar is used instead of the
_3.1.1.jar the problem goes away.  (Both A.java and B.java are compiled
by the compiler) Also the application works 
correctly using eclipse 3.0.1 as well.

So this seems like a bug introduced in 3.1.1
Comment 1 Olivier Thomann CLA 2005-10-17 19:23:40 EDT

*** This bug has been marked as a duplicate of 112847 ***
Comment 2 Bala Balakumran CLA 2005-11-23 11:46:15 EST
duplicate