Community
Participate
Working Groups
I created an Eclipse job that extends org.eclipse.core.runtime.jobs.Job. I implemented protected IStatus run(IProgressMonitor monitor) as required and when I generate the JavaDoc comment for this method the following is produced. /* (non-Javadoc) * @see org.eclipse.core.internal.jobs.InternalJob#run(org.eclipse.core.runtime.IProgressMonitor) */ This is automatically flagged as the following warning in RC1. "Discouraged access: The type InternalJob is not accessible due to restriction on required library D:\eclipse\I20050607\eclipse\plugins\org.eclipse.core.runtime_3.1.0.jar" As the org.eclipse.core.runtime.jobs.job class defines the abstract run method it seems to me that the comment should refer to this method and not the one in InternalJob. (Note: I do not reference InternalJob anywhere in my code.) Also, InternalJob is internal and for consistency the platform should be smart enough to identify situations such as these.
I could not reproduce this with n200506080010. The Job class overrides the run method from InternalJob, and the generated javadoc I get refer's to Job's run (which is API).
Verified it works with 3.2 M6 and 3.1.2
Verified on 3.1.2 RC4.
Closing bug.