Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330851 - Java discouraged access warning in o.e.w.jsdt.ui
Summary: Java discouraged access warning in o.e.w.jsdt.ui
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.3 RC1   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 14:56 EST by Michael Rennie CLA
Modified: 2011-04-25 14:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-11-22 14:56:28 EST
code from HEAD

Description	Resource	Path	Location	Type
Discouraged access: The method getJavaProject() from the type InternalCompletionProposal is not accessible due to restriction on required project org.eclipse.wst.jsdt.core	CompletionProposalLabelProvider.java	/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/ui/text/java	line 336	Java Problem

I would assume JSDT UI has unrestricted access to JSDT core.

Is there a reason for this particular case?

It seems like all of the org.eclipse.wst.jsdt.internal.codeassist.* packages do not allow jsdt.ui to access them without warning

There are also some internal packages being exported as API in jsdt.core:

org.eclipse.wst.jsdt.internal.oaametadata
org.eclipse.wst.jsdt.internal.core.index
org.eclipse.wst.jsdt.internal.core.interpret
Comment 1 Nitin Dahyabhai CLA 2011-04-25 14:42:12 EDT
Manifest updated.