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

Bug 343236

Summary: DBCS4.1: Open declaration from inheritDoc does not point to inherited method in Mac OS X.
Product: [Eclipse Project] JDT Reporter: Harendra <harendra>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: camle, daniel_megert, kennoji, kitlo, pwebster
Version: 3.7Keywords: needinfo
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Test project none

Description Harendra CLA 2011-04-19 03:38:58 EDT
Build Identifier: I20110412-2200

OS: Mac OS X
Java environment:1.6.0_24-b07-334
Locale:ja_JP.UTF-8

Reproducible: Always

Steps to Reproduce:
1. Import the attached project.
2. Open the class Subclass.java. It has following contents.
public class Subclass extends Superclass {
	/*
	 * {@inheritDoc } docs
	 * inherited
	 */
	
	public void foo(){
		super.foo();
	}

}
3. Point and click at {@inheritDoc }
4. Control+click and click Open Declaration.
You see the error saying "Current text selection cannot be opened in an editor"
Comment 1 Harendra CLA 2011-04-19 03:41:51 EDT
Created attachment 193548 [details]
Test project
Comment 2 Dani Megert CLA 2011-04-19 06:20:31 EDT
Can you please verify your example:

- I cannot find any DBCS character in it.
- The attached example shows a comment and not a Javadoc comment, hence
   {@inheritDoc} is not supported.

- "Point and click at {@inheritDoc }": where exactly do you click?
Can you attach a screen shot?

What encoding does your workspace use?
Comment 3 Harendra CLA 2011-04-19 06:46:03 EDT
(In reply to comment #2)
> Can you please verify your example:
> 
> - I cannot find any DBCS character in it.
> - The attached example shows a comment and not a Javadoc comment, hence
>    {@inheritDoc} is not supported.
> 
> - "Point and click at {@inheritDoc }": where exactly do you click?
> Can you attach a screen shot?
> 
> What encoding does your workspace use?

You are right, it is invalid. I had missed an *. Sorry for the
inconvenience marked as invalid. Thanks.