Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Discouraged access
Discouraged access [message #520823] Mon, 15 March 2010 09:49 Go to next message
Eclipse UserFriend
I am getting the following warning:

"Discouraged access: The method createChange(IProgressMonitor) from the type InlineMethodRefactoring is not accessible due to restriction on required library D:\Lehmia\eclipse-rcp-galileo-SR1-win32\eclipse\plugins\org. eclipse.jdt.ui_3.5.1.r351_v20090821-0800.jar "

i have searched from net its due to trying to access the internal class Files. ( http://dev.eclipse.org/newslists/news.eclipse.platform/msg61 259.html)

Now i want to know what alternative jar file can be used to remove this warning or any other solution to remove this warning.Urgent help required.
Re: Discouraged access [message #526102 is a reply to message #520823] Thu, 08 April 2010 12:54 Go to previous message
Eclipse UserFriend
When you are using internal code, you get such warnings.
You can always change your project compiler settings to get rid of them if you don't intend to fix them.
Using internal methods/types/fields is evil and should be avoided if possible.

Olivier
Previous Topic:Compiler compliance 1.4 compiles String.contains
Next Topic:Missing Builder
Goto Forum:
  


Current Time: Mon Mar 17 01:57:51 EDT 2025

Powered by FUDForum. Page generated in 0.04397 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top