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

Bug 285439

Summary: Wrong "Invalid @since tag" error reported
Product: [Eclipse Project] PDE Reporter: Darin Wright <darin.eclipse>
Component: API ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: cocoakevin
Version: 3.5   
Target Milestone: 3.6 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Darin Wright CLA 2009-08-03 09:54:08 EDT
I20090802-2000

Steps to reproduce:
1) Start a fresh workspace
2) Check out org.eclipse.swt and the fragment that corresponds to your platform (win32.x86 in my case)
3) You will have compile errors.
4) Rename the .classpath_win32 file into .classpath
5) All errors should be gone except some PDE/UI errors in the SWT fragment
6) Clean the fragment
7) Select the API tooling warning for missing a baseline
10) Quickfix to create a baseline
11) Add a baseline pointing to 3.5.0 and do a full API build

There is now an API error:

Description	Resource	Path	Location	Type
Invalid @since 3.2 tag on getGCData(); expecting @since 3.6	GC.java	/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics	line 3395	@since tag problem

However, when I look at the history of GC.java, this is not a recently added method. It existed in 3.5.
Comment 1 Darin Wright CLA 2009-08-03 10:19:20 EDT
Appears to be a regression since 3.5, should be investigated for M1.
Comment 2 Darin Wright CLA 2009-08-03 14:07:27 EDT
This appears to be a dup of bug 285123, and is fixed with the patch provided there.

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