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

Bug 318467

Summary: Error icon on plugin.xml although only warning marker set
Product: [Eclipse Project] PDE Reporter: Marko Tomljenovic <marko.tomljenovic>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: ankur_sharma
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
PDE compiler preference none

Description Marko Tomljenovic CLA 2010-06-30 09:32:09 EDT
Build Identifier:   Eclipse Plug-in Development Environment	3.5.2.R35x_v20100119-7Z7_FA2FDX-aXQYWqYDBz-z0qufo	org.eclipse.pde.feature.group

I have an extension point where one of the attributes of one extension references an internal (discouraged) class.
Although the PDE compiler preferences are set to create a warning marker for discouraged access and the warning marker is created an error icon is created on the plugin.xml.

Reproducible: Always

Steps to Reproduce:
1. Set the PDE compiler preference for "References for discouraged access" to "Warning".
2. Create an extension of "org.eclipse.search.searchPages"
3. In the "class" attribute set "org.eclipse.search.internal.ui.text.TextSearchPage"
4. Now an error icon will be shown on the corresponding plugin.xml
Comment 1 Marko Tomljenovic CLA 2010-06-30 09:32:45 EDT
Created attachment 173095 [details]
PDE compiler preference
Comment 2 Ankur Sharma CLA 2010-06-30 16:21:00 EDT
I tested on Eclipse 3.4.2 and Eclipse 3.6 and it worked fine on both. Please test with Eclipse 3.6 and reopen this bug if you still face the issue. Also we will need more information about your plug-in as it seems to work fine with the 'steps to reproduce' mentioned.