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

Bug 448922

Summary: Regression: Unjustified 'It is indirectly referenced from required .class files' when compiled with Luna
Product: [Eclipse Project] JDT Reporter: Frank Neblung <f.neblung>
Component: CoreAssignee: Srikanth Sankaran <srikanth_sankaran>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: srikanth_sankaran
Version: 4.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
sample java projects none

Description Frank Neblung CLA 2014-10-27 03:53:59 EDT
Created attachment 248196 [details]
sample java projects

The attached projects compiled fine with Indigo, but are rejected by Luna's compiler.

Ways to reproduce:
- Start a fresh Luna-SR1 Workspace
- Import the attached projects with
    File/Import...
    General + Existing Projects into Workspace  Next>
    Select archive file:    Browse...  (select the downloaded attached zip)

The imported project 'Client' does not compile. There are 2 errors reported in the Errors View.
1. The project was not built since its build path is incomplete. Cannot find the class file for tp.Third$Party. Fix the build path then try building this project
2. The type tp.Third$Party cannot be resolved. It is indirectly referenced from required .class files

As mentioned: When imported into a fresh Indigo workspace, there are no compilation failures.
Comment 1 Srikanth Sankaran CLA 2014-10-27 06:27:28 EDT
Can you try a recent build. I think this is backported as of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=438923#c21
Comment 2 Frank Neblung CLA 2014-10-27 07:41:21 EDT
You are right. The problem is fixed in
Version: Luna SR1 (4.4.1)
Build id: M20141022-0800

*** This bug has been marked as a duplicate of bug 438923 ***